Eneboo - Documentación para desarrolladores
Clases | 'defines' | Enumeraciones | Funciones | Variables
Referencia del Archivo src/qt/src/moc/moc_yacc.cpp
#include "qplatformdefs.h"
#include "qasciidict.h"
#include "qdatetime.h"
#include "qdict.h"
#include "qfile.h"
#include "qdir.h"
#include "qptrlist.h"
#include "qregexp.h"
#include "qstrlist.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "moc_lex.cpp"

Clases

class  Argument
class  ArgList
struct  Function
class  FuncList
class  Enum
class  EnumList
struct  Property
class  PropList
struct  ClassInfo
class  ClassInfoList
class  parser_reg
union  YYSTYPE
struct  NamespaceInfo

'defines'

#define YYBYACC   1
#define YYMAJOR   1
#define YYMINOR   9
#define yyclearin   (yychar=(-1))
#define yyerrok   (yyerrflag=0)
#define YYRECOVERING   (yyerrflag!=0)
#define YYPREFIX   "yy"
#define MOC_YACC_CODE
#define CHAR_VAL   257
#define INT_VAL   258
#define DOUBLE_VAL   259
#define STRING   260
#define IDENTIFIER   261
#define FRIEND   262
#define TYPEDEF   263
#define AUTO   264
#define REGISTER   265
#define STATIC   266
#define EXTERN   267
#define INLINE   268
#define VIRTUAL   269
#define CONST   270
#define VOLATILE   271
#define CHAR   272
#define SHORT   273
#define INT   274
#define LONG   275
#define SIGNED   276
#define UNSIGNED   277
#define FLOAT   278
#define DOUBLE   279
#define VOID   280
#define ENUM   281
#define CLASS   282
#define STRUCT   283
#define UNION   284
#define ASM   285
#define PRIVATE   286
#define PROTECTED   287
#define PUBLIC   288
#define OPERATOR   289
#define DBL_COLON   290
#define TRIPLE_DOT   291
#define TEMPLATE   292
#define NAMESPACE   293
#define USING   294
#define MUTABLE   295
#define THROW   296
#define SIGNALS   297
#define SLOTS   298
#define Q_OBJECT   299
#define Q_PROPERTY   300
#define Q_OVERRIDE   301
#define Q_CLASSINFO   302
#define Q_ENUMS   303
#define Q_SETS   304
#define READ   305
#define WRITE   306
#define STORED   307
#define DESIGNABLE   308
#define SCRIPTABLE   309
#define RESET   310
#define YYERRCODE   256
#define YYTABLESIZE   1510
#define YYFINAL   1
#define YYDEBUG   0
#define YYMAXTOKEN   310
#define YYSTACKSIZE   500
#define YYMAXDEPTH   500
#define yystacksize   YYSTACKSIZE
#define ErrorFormatString   "%s:%d:"
#define getenv   hack_getenv
#define YYABORT   goto yyabort
#define YYREJECT   goto yyabort
#define YYACCEPT   goto yyaccept
#define YYERROR   goto yyerrlab

Enumeraciones

enum  Access { Private, Protected, Public }
enum  Member { SignalMember, SlotMember, PropertyCandidateMember }
enum  Flags {
  Invalid = 0x00000000, Readable = 0x00000001, Writable = 0x00000002, EnumOrSet = 0x00000004,
  UnresolvedEnum = 0x00000008, StdSet = 0x00000100, Override = 0x00000200, NotDesignable = 0x00001000,
  DesignableOverride = 0x00002000, NotScriptable = 0x00004000, ScriptableOverride = 0x00008000, NotStored = 0x00010000,
  StoredOverride = 0x00020000, Invalid = 0x00000000, Readable = 0x00000001, Writable = 0x00000002,
  EnumOrSet = 0x00000004, UnresolvedEnum = 0x00000008, StdSet = 0x00000100, Override = 0x00000200,
  NotDesignable = 0x00001000, DesignableOverride = 0x00002000, NotScriptable = 0x00004000, ScriptableOverride = 0x00008000,
  NotStored = 0x00010000, StoredOverride = 0x00020000
}

Funciones

void yyerror (const char *msg)
bool isEnumType (const char *type)
int enumIndex (const char *type)
bool isVariantType (const char *type)
int qvariant_nameToType (const char *name)
bool isIdentChar (char x)
bool validUType (QCString ctype)
QCString castToUType (QCString ctype)
QCString rawUType (QCString ctype)
QCString uType (QCString ctype)
bool isInOut (QCString ctype)
QCString uTypeExtra (QCString ctype)
void fixRightAngles (QCString *str)
ArgListaddArg (Argument *)
void addMember (Member)
void addEnum ()
char * stradd (const char *, const char *)
char * stradd (const char *, const char *, const char *)
char * stradd (const char *, const char *, const char *, const char *)
char * straddSpc (const char *, const char *)
char * straddSpc (const char *, const char *, const char *)
char * straddSpc (const char *, const char *, const char *, const char *)
void cleanup ()
QCString combinePath (const char *, const char *)
int yyparse ()
void replace (char *s, char c1, char c2)
void setDefaultIncludeFile ()
int main (int argc, char **argv)
char * getenv ()
char * getenv (const char *)
QCString nameQualifier ()
int openNameSpaceForMetaObject (FILE *out)
void closeNameSpaceForMetaObject (FILE *out, int levels)
bool isSpace (char x)
void addExpressionString (const char *s)
void addExpressionChar (const char c)
void moc_warn (char *s1, char *s2)
int yywrap ()
QCString purestSuperClassName ()
QCString qualifiedClassName ()
void generateFuncs (FuncList *list, const char *functype, int num)
bool isPropertyType (const char *type)
int generateEnums ()
int generateProps ()
int generateClassInfos ()

Variables

int yydebug
bool lexDebug = FALSE
int lineNo
bool errorControl = FALSE
bool displayWarnings = TRUE
bool skipClass
bool skipFunc
bool templateClass
bool templateClassOld
ArgListtmpArgList
FunctiontmpFunc
EnumtmpEnum
Access tmpAccess
Access subClassPerm
bool Q_OBJECTdetected
bool Q_PROPERTYdetected
bool tmpPropOverride
int tmpYYStart
int tmpYYStart2
const int formatRevision = 26
short yylhs []
short yylen []
short yydefred []
short yydgoto []
short yysindex []
short yyrindex []
short yygindex []
short yytable []
short yycheck []
int yynerrs
int yyerrflag
int yychar
short * yyssp
YYSTYPEyyvsp
YYSTYPE yyval
YYSTYPE yylval
short yyss [YYSTACKSIZE]
YYSTYPE yyvs [YYSTACKSIZE]
FILE * out
QPtrList< NamespaceInfonamespaces
const int Slot_Num = 1
const int Signal_Num = 2
const int Prop_Num = 3

Documentación de los 'defines'

#define ASM   285
#define AUTO   264
#define CHAR   272
#define CHAR_VAL   257
#define CLASS   282
#define CONST   270
#define DBL_COLON   290
#define DESIGNABLE   308
#define DOUBLE   279
#define DOUBLE_VAL   259
#define ENUM   281
#define ErrorFormatString   "%s:%d:"
#define EXTERN   267
#define FLOAT   278
#define FRIEND   262
#define getenv   hack_getenv
#define IDENTIFIER   261
#define INLINE   268
#define INT   274
#define INT_VAL   258
#define LONG   275
#define MOC_YACC_CODE
#define MUTABLE   295
#define NAMESPACE   293
#define OPERATOR   289
#define PRIVATE   286
#define PROTECTED   287
#define PUBLIC   288
#define Q_CLASSINFO   302
#define Q_ENUMS   303
#define Q_OBJECT   299
#define Q_OVERRIDE   301
#define Q_PROPERTY   300
#define Q_SETS   304
#define READ   305
#define REGISTER   265
#define RESET   310
#define SCRIPTABLE   309
#define SHORT   273
#define SIGNALS   297
#define SIGNED   276
#define SLOTS   298
#define STATIC   266
#define STORED   307
#define STRING   260
#define STRUCT   283
#define TEMPLATE   292
#define THROW   296
#define TRIPLE_DOT   291
#define TYPEDEF   263
#define UNION   284
#define UNSIGNED   277
#define USING   294
#define VIRTUAL   269
#define VOID   280
#define VOLATILE   271
#define WRITE   306
#define YYABORT   goto yyabort
#define YYACCEPT   goto yyaccept
#define YYBYACC   1
#define yyclearin   (yychar=(-1))
#define YYDEBUG   0
#define YYERRCODE   256
#define yyerrok   (yyerrflag=0)
#define YYERROR   goto yyerrlab
#define YYFINAL   1
#define YYMAJOR   1
#define YYMAXDEPTH   500
#define YYMAXTOKEN   310
#define YYMINOR   9
#define YYPREFIX   "yy"
#define YYRECOVERING   (yyerrflag!=0)
#define YYREJECT   goto yyabort
#define YYSTACKSIZE   500
#define yystacksize   YYSTACKSIZE
#define YYTABLESIZE   1510

Documentación de las enumeraciones

enum Access
Valores de enumeraciones:
Private 
Protected 
Public 
enum Flags
Valores de enumeraciones:
Invalid 
Readable 
Writable 
EnumOrSet 
UnresolvedEnum 
StdSet 
Override 
NotDesignable 
DesignableOverride 
NotScriptable 
ScriptableOverride 
NotStored 
StoredOverride 
Invalid 
Readable 
Writable 
EnumOrSet 
UnresolvedEnum 
StdSet 
Override 
NotDesignable 
DesignableOverride 
NotScriptable 
ScriptableOverride 
NotStored 
StoredOverride 
enum Member
Valores de enumeraciones:
SignalMember 
SlotMember 
PropertyCandidateMember 

Documentación de las funciones

ArgList * addArg ( Argument a)
void addEnum ( )
void addExpressionChar ( const char  c)
void addExpressionString ( const char *  s)
void addMember ( Member  m)
QCString castToUType ( QCString  ctype)
void cleanup ( )
void closeNameSpaceForMetaObject ( FILE *  out,
int  levels 
)
QCString combinePath ( const char *  infile,
const char *  outfile 
)
int enumIndex ( const char *  type)
void fixRightAngles ( QCString str)
int generateClassInfos ( )
int generateEnums ( )
void generateFuncs ( FuncList list,
const char *  functype,
int  num 
)
int generateProps ( )
char* getenv ( )
char* getenv ( const char *  )
bool isEnumType ( const char *  type)
bool isIdentChar ( char  x) [inline]
bool isInOut ( QCString  ctype)
bool isPropertyType ( const char *  type)
bool isSpace ( char  x) [inline]
bool isVariantType ( const char *  type)
int main ( int  argc,
char **  argv 
)
void moc_warn ( char *  s1,
char *  s2 
)
QCString nameQualifier ( )
int openNameSpaceForMetaObject ( FILE *  out)
QCString purestSuperClassName ( )
QCString qualifiedClassName ( )
int qvariant_nameToType ( const char *  name)
QCString rawUType ( QCString  ctype)
void replace ( char *  s,
char  c1,
char  c2 
)
void setDefaultIncludeFile ( )
char * stradd ( const char *  s1,
const char *  s2 
)
char * stradd ( const char *  s1,
const char *  s2,
const char *  s3,
const char *  s4 
)
char * stradd ( const char *  s1,
const char *  s2,
const char *  s3 
)
char * straddSpc ( const char *  s1,
const char *  s2,
const char *  s3 
)
char * straddSpc ( const char *  s1,
const char *  s2,
const char *  s3,
const char *  s4 
)
char * straddSpc ( const char *  s1,
const char *  s2 
)
QCString uType ( QCString  ctype)
QCString uTypeExtra ( QCString  ctype)
bool validUType ( QCString  ctype)
void yyerror ( const char *  msg)
int yyparse ( )
int yywrap ( )

Documentación de las variables

bool errorControl = FALSE
const int formatRevision = 26
bool lexDebug = FALSE
FILE* out
const int Prop_Num = 3
const int Signal_Num = 2
const int Slot_Num = 1
short yycheck[]
short yydefred[]
short yydgoto[]
Valor inicial:
 {                                      93,
   53,   54,  162,   64,   65,   85,   86,   87,   88,  163,
  164,  165,  166,  167,  168,   69,  169,   48,  318,  319,
  320,  365,  366,  321,  477,  302,  303,  304,  322,  170,
  217,  171,  172,  173,  374,  229,  306,  307,  375,    4,
    5,    6,    7,    8,    9,   10,   11,   26,   94,   92,
   14,   71,   21,   12,   72,  337,  462,  430,  174,   22,
  362,  438,  471,  406,  440,  444,  244,  434,  459,  247,
  481,  196,  264,  339,  265,  340,  482,  486,   23,  107,
   76,   24,  175,  460,  435,  456,  457,  474,  108,  109,
  110,  150,  131,  123,  176,  124,  184,  260,  330,  125,
  331,  126,  427,  127,  188,  333,  128,  190,  334,  256,
  193,  261,  262,  263,  178,  179,  258,  259,  316,  219,
  180,  181,  245,  376,  182,  315,  402,  377,  441,  416,
  324,  199,  344,  270,  271,  395,  385,  329,
}
short yygindex[]
Valor inicial:
 {                                   1152,
  347,    0, 1150,  930,    0,    0,  435, 1056,  449,  283,
 -135,    0,   57,  -11,  -25,  122,    0,    0,    0,    0,
    0,  765,  810, -294,    0, -159,    0,  892,    0,  -10,
  -44, -156, 1177, 1182,  830,  244, 1039,  301,  840,    0,
    0,    0,    0,    0,    0,    0,    0,    0, 1114,    0,
    0,    0,    0,    0, 1134,  231,  752,    0, 1207,    0,
    0,    0,    0,    0,    0,    0,    0,    0,    0,  768,
    0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
    0,    0,    0,    0,    0,  780,    0,    0,    0, 1142,
    0,    0,    0,    0,    0,    0, 1109, -186,    0,    0,
    0,    0,    0,    0, 1067,    0,    0, 1063,    0,    0,
    0,    0,  994,  -82,    0, 1078,    0,  999,  274, -170,
    0,    0,    0,    0,    0,    0,    0,  849,    0,    0,
    0,    0,  931, 1005,  974,    0,  856,    0,
}
short yylen[]
short yylhs[]
short yyrindex[]
short yysindex[]
short yyss[YYSTACKSIZE]
short* yyssp
short yytable[]
YYSTYPE yyvs[YYSTACKSIZE]
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'