scanner.cpp File Reference

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include "qtbc.h"
#include <qarray.h>
#include <qstack.h>
#include <qregexp.h>
#include <unistd.h>
#include <qfile.h>
#include "scanner.h"
#include "entry.h"
#include "message.h"
#include "config.h"
#include "doxygen.h"
#include "util.h"
#include "defargs.h"
#include "language.h"
#include "commentscan.h"
#include "code.h"

Go to the source code of this file.

Classes

struct  yy_buffer_state
struct  yy_trans_info

Defines

#define YY_INT_ALIGNED   short int
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define YY_FLEX_SUBMINOR_VERSION   33
#define FLEX_BETA
#define INT8_MIN   (-128)
#define INT16_MIN   (-32767-1)
#define INT32_MIN   (-2147483647-1)
#define INT8_MAX   (127)
#define INT16_MAX   (32767)
#define INT32_MAX   (2147483647)
#define UINT8_MAX   (255U)
#define UINT16_MAX   (65535U)
#define UINT32_MAX   (4294967295U)
#define yyconst
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define BEGIN   (yy_start) = 1 + 2 *
#define YY_START   (((yy_start) - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   scanYYrestart(scanYYin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   262144
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define YY_LESS_LINENO(n)
#define yyless(n)
#define unput(c)   yyunput( c, (yytext_ptr) )
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
#define YY_FLUSH_BUFFER   scanYY_flush_buffer(YY_CURRENT_BUFFER )
#define yy_new_buffer   scanYY_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
#define scanYYwrap(n)   1
#define YY_SKIP_YYWRAP
#define yytext_ptr   scanYYtext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   605
#define YY_END_OF_BUFFER   606
#define YY_TRAILING_MASK   0x2000
#define YY_TRAILING_HEAD_MASK   0x4000
#define REJECT
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define YY_RESTORE_YY_MORE_OFFSET
#define YY_NEVER_INTERACTIVE   1
#define YY_INPUT(buf, result, max_size)   result=yyread(buf,max_size);
#define INITIAL   0
#define Define   1
#define DefineEnd   2
#define CompoundName   3
#define ClassVar   4
#define CSConstraintName   5
#define CSConstraintType   6
#define ClassCategory   7
#define ClassTemplSpec   8
#define CliPropertyType   9
#define CliOverride   10
#define Bases   11
#define BasesProt   12
#define NextSemi   13
#define BitFields   14
#define FindMembers   15
#define FindMembersPHP   16
#define FindMemberName   17
#define FindFields   18
#define FindFieldArg   19
#define Function   20
#define FuncRound   21
#define ExcpRound   22
#define ExcpList   23
#define FuncQual   24
#define Operator   25
#define Array   26
#define ReadBody   27
#define ReadNSBody   28
#define ReadBodyIntf   29
#define Using   30
#define UsingDirective   31
#define SkipCurly   32
#define SkipCurlyCpp   33
#define SkipCurlyEndDoc   34
#define SkipString   35
#define SkipPHPString   36
#define SkipInits   37
#define SkipCPP   38
#define SkipCPPBlock   39
#define SkipComment   40
#define SkipCxxComment   41
#define SkipCurlyBlock   42
#define SkipRoundBlock   43
#define Sharp   44
#define SkipSharp   45
#define SkipRound   46
#define SkipSquare   47
#define SkipRemainder   48
#define TypedefName   49
#define TryFunctionBlock   50
#define TryFunctionBlockEnd   51
#define Comment   52
#define PackageName   53
#define JavaImport   54
#define CSAccessorDecl   55
#define PreLineCtrl   56
#define DefinePHP   57
#define DefinePHPEnd   58
#define OldStyleArgs   59
#define SkipVerbString   60
#define ObjCMethod   61
#define ObjCReturnType   62
#define ObjCParams   63
#define ObjCParamType   64
#define ObjCProtocolList   65
#define ObjCPropAttr   66
#define ObjCSkipStatement   67
#define QtPropType   68
#define QtPropName   69
#define QtPropAttr   70
#define QtPropRead   71
#define QtPropWrite   72
#define ReadInitializer   73
#define GetCallType   74
#define CppQuote   75
#define EndCppQuote   76
#define MemberSpec   77
#define MemberSpecSkip   78
#define EndTemplate   79
#define FuncPtr   80
#define FuncPtrOperator   81
#define EndFuncPtr   82
#define ReadFuncArgType   83
#define ReadTempArgs   84
#define IDLUnionCase   85
#define NSAliasName   86
#define NSAliasArg   87
#define CopyString   88
#define CopyPHPString   89
#define CopyGString   90
#define CopyPHPGString   91
#define CopyRound   92
#define CopyCurly   93
#define GCopyRound   94
#define GCopyCurly   95
#define SkipUnionSwitch   96
#define Specialization   97
#define FuncPtrInit   98
#define FuncFunc   99
#define FuncFuncEnd   100
#define FuncFuncType   101
#define FuncFuncArray   102
#define CopyArgString   103
#define CopyArgPHPString   104
#define CopyArgRound   105
#define CopyArgSharp   106
#define CopyArgComment   107
#define CopyArgCommentLine   108
#define CopyArgVerbatim   109
#define IDLAttribute   110
#define IDLProp   111
#define IDLPropName   112
#define Prototype   113
#define PrototypePtr   114
#define PrototypeQual   115
#define PrototypeExc   116
#define PrototypeSkipLine   117
#define DocLine   118
#define DocBlock   119
#define DocCopyBlock   120
#define YY_EXTRA_TYPE   void *
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( scanYYtext, scanYYleng, 1, scanYYout )
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL_IS_OURS   1
#define YY_DECL   int scanYYlex (void)
#define YY_BREAK   break;
#define YY_RULE_SETUP
#define YY_EXIT_FAILURE   2
#define yyless(n)
#define YYTABLES_NAME   "yytables"

Typedefs

typedef signed char flex_int8_t
typedef short int flex_int16_t
typedef int flex_int32_t
typedef unsigned char flex_uint8_t
typedef unsigned short int flex_uint16_t
typedef unsigned int flex_uint32_t
typedef yy_buffer_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void scanYYrestart (FILE *input_file)
void scanYY_switch_to_buffer (YY_BUFFER_STATE new_buffer)
YY_BUFFER_STATE scanYY_create_buffer (FILE *file, int size)
void scanYY_delete_buffer (YY_BUFFER_STATE b)
void scanYY_flush_buffer (YY_BUFFER_STATE b)
void scanYYpush_buffer_state (YY_BUFFER_STATE new_buffer)
void scanYYpop_buffer_state (void)
YY_BUFFER_STATE scanYY_scan_buffer (char *base, yy_size_t size)
YY_BUFFER_STATE scanYY_scan_string (yyconst char *yy_str)
YY_BUFFER_STATE scanYY_scan_bytes (yyconst char *bytes, int len)
void * scanYYalloc (yy_size_t)
void * scanYYrealloc (void *, yy_size_t)
void scanYYfree (void *)
void fixArgumentListForJavaScript (ArgumentList *al)
int scanYYlex (void)

Variables

int scanYYleng
FILE * scanYYin
FILE * scanYYout
int scanYYleng
FILE * scanYYin = (FILE *) 0
FILE * scanYYout = (FILE *) 0
int scanYYlineno
int scanYYlineno = 1
char * scanYYtext
int scanYY_flex_debug
int scanYY_flex_debug = 0
char * scanYYtext


Define Documentation

#define Array   26

Definition at line 8538 of file scanner.cpp.

#define Bases   11

Definition at line 8523 of file scanner.cpp.

#define BasesProt   12

Definition at line 8524 of file scanner.cpp.

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 123 of file scanner.cpp.

#define BitFields   14

Definition at line 8526 of file scanner.cpp.

#define ClassCategory   7

Definition at line 8519 of file scanner.cpp.

#define ClassTemplSpec   8

Definition at line 8520 of file scanner.cpp.

#define ClassVar   4

Definition at line 8516 of file scanner.cpp.

#define CliOverride   10

Definition at line 8522 of file scanner.cpp.

#define CliPropertyType   9

Definition at line 8521 of file scanner.cpp.

#define Comment   52

Definition at line 8564 of file scanner.cpp.

#define CompoundName   3

Definition at line 8515 of file scanner.cpp.

#define CopyArgComment   107

Definition at line 8619 of file scanner.cpp.

#define CopyArgCommentLine   108

Definition at line 8620 of file scanner.cpp.

#define CopyArgPHPString   104

Definition at line 8616 of file scanner.cpp.

#define CopyArgRound   105

Definition at line 8617 of file scanner.cpp.

#define CopyArgSharp   106

Definition at line 8618 of file scanner.cpp.

#define CopyArgString   103

Definition at line 8615 of file scanner.cpp.

#define CopyArgVerbatim   109

Definition at line 8621 of file scanner.cpp.

#define CopyCurly   93

Definition at line 8605 of file scanner.cpp.

#define CopyGString   90

Definition at line 8602 of file scanner.cpp.

#define CopyPHPGString   91

Definition at line 8603 of file scanner.cpp.

#define CopyPHPString   89

Definition at line 8601 of file scanner.cpp.

#define CopyRound   92

Definition at line 8604 of file scanner.cpp.

#define CopyString   88

Definition at line 8600 of file scanner.cpp.

#define CppQuote   75

Definition at line 8587 of file scanner.cpp.

#define CSAccessorDecl   55

Definition at line 8567 of file scanner.cpp.

#define CSConstraintName   5

Definition at line 8517 of file scanner.cpp.

#define CSConstraintType   6

Definition at line 8518 of file scanner.cpp.

#define Define   1

Definition at line 8513 of file scanner.cpp.

#define DefineEnd   2

Definition at line 8514 of file scanner.cpp.

#define DefinePHP   57

Definition at line 8569 of file scanner.cpp.

#define DefinePHPEnd   58

Definition at line 8570 of file scanner.cpp.

#define DocBlock   119

Definition at line 8631 of file scanner.cpp.

#define DocCopyBlock   120

Definition at line 8632 of file scanner.cpp.

#define DocLine   118

Definition at line 8630 of file scanner.cpp.

#define ECHO   (void) fwrite( scanYYtext, scanYYleng, 1, scanYYout )

Definition at line 8690 of file scanner.cpp.

#define EndCppQuote   76

Definition at line 8588 of file scanner.cpp.

#define EndFuncPtr   82

Definition at line 8594 of file scanner.cpp.

#define EndTemplate   79

Definition at line 8591 of file scanner.cpp.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 158 of file scanner.cpp.

#define EOB_ACT_END_OF_FILE   1

Definition at line 159 of file scanner.cpp.

#define EOB_ACT_LAST_MATCH   2

Definition at line 160 of file scanner.cpp.

#define ExcpList   23

Definition at line 8535 of file scanner.cpp.

#define ExcpRound   22

Definition at line 8534 of file scanner.cpp.

#define FindFieldArg   19

Definition at line 8531 of file scanner.cpp.

#define FindFields   18

Definition at line 8530 of file scanner.cpp.

#define FindMemberName   17

Definition at line 8529 of file scanner.cpp.

#define FindMembers   15

Definition at line 8527 of file scanner.cpp.

#define FindMembersPHP   16

Definition at line 8528 of file scanner.cpp.

#define FLEX_BETA

Definition at line 13 of file scanner.cpp.

#define FLEX_SCANNER

Definition at line 8 of file scanner.cpp.

#define FuncFunc   99

Definition at line 8611 of file scanner.cpp.

#define FuncFuncArray   102

Definition at line 8614 of file scanner.cpp.

#define FuncFuncEnd   100

Definition at line 8612 of file scanner.cpp.

#define FuncFuncType   101

Definition at line 8613 of file scanner.cpp.

#define FuncPtr   80

Definition at line 8592 of file scanner.cpp.

#define FuncPtrInit   98

Definition at line 8610 of file scanner.cpp.

#define FuncPtrOperator   81

Definition at line 8593 of file scanner.cpp.

#define FuncQual   24

Definition at line 8536 of file scanner.cpp.

#define FuncRound   21

Definition at line 8533 of file scanner.cpp.

#define Function   20

Definition at line 8532 of file scanner.cpp.

#define GCopyCurly   95

Definition at line 8607 of file scanner.cpp.

#define GCopyRound   94

Definition at line 8606 of file scanner.cpp.

#define GetCallType   74

Definition at line 8586 of file scanner.cpp.

#define IDLAttribute   110

Definition at line 8622 of file scanner.cpp.

#define IDLProp   111

Definition at line 8623 of file scanner.cpp.

#define IDLPropName   112

Definition at line 8624 of file scanner.cpp.

#define IDLUnionCase   85

Definition at line 8597 of file scanner.cpp.

#define INITIAL   0

comment parsing states

Definition at line 8512 of file scanner.cpp.

#define INT16_MAX   (32767)

Definition at line 72 of file scanner.cpp.

#define INT16_MIN   (-32767-1)

Definition at line 63 of file scanner.cpp.

#define INT32_MAX   (2147483647)

Definition at line 75 of file scanner.cpp.

#define INT32_MIN   (-2147483647-1)

Definition at line 66 of file scanner.cpp.

#define INT8_MAX   (127)

Definition at line 69 of file scanner.cpp.

#define INT8_MIN   (-128)

Definition at line 60 of file scanner.cpp.

#define JavaImport   54

Definition at line 8566 of file scanner.cpp.

#define MemberSpec   77

Definition at line 8589 of file scanner.cpp.

#define MemberSpecSkip   78

Definition at line 8590 of file scanner.cpp.

#define NextSemi   13

Definition at line 8525 of file scanner.cpp.

#define NSAliasArg   87

Definition at line 8599 of file scanner.cpp.

#define NSAliasName   86

Definition at line 8598 of file scanner.cpp.

#define ObjCMethod   61

Definition at line 8573 of file scanner.cpp.

#define ObjCParams   63

Definition at line 8575 of file scanner.cpp.

#define ObjCParamType   64

Definition at line 8576 of file scanner.cpp.

#define ObjCPropAttr   66

Definition at line 8578 of file scanner.cpp.

#define ObjCProtocolList   65

Definition at line 8577 of file scanner.cpp.

#define ObjCReturnType   62

Definition at line 8574 of file scanner.cpp.

#define ObjCSkipStatement   67

Definition at line 8579 of file scanner.cpp.

#define OldStyleArgs   59

Definition at line 8571 of file scanner.cpp.

#define Operator   25

Definition at line 8537 of file scanner.cpp.

#define PackageName   53

Definition at line 8565 of file scanner.cpp.

#define PreLineCtrl   56

Definition at line 8568 of file scanner.cpp.

#define Prototype   113

Definition at line 8625 of file scanner.cpp.

#define PrototypeExc   116

Definition at line 8628 of file scanner.cpp.

#define PrototypePtr   114

Definition at line 8626 of file scanner.cpp.

#define PrototypeQual   115

Definition at line 8627 of file scanner.cpp.

#define PrototypeSkipLine   117

Definition at line 8629 of file scanner.cpp.

#define QtPropAttr   70

Definition at line 8582 of file scanner.cpp.

#define QtPropName   69

Definition at line 8581 of file scanner.cpp.

#define QtPropRead   71

Definition at line 8583 of file scanner.cpp.

#define QtPropType   68

Definition at line 8580 of file scanner.cpp.

#define QtPropWrite   72

Definition at line 8584 of file scanner.cpp.

#define ReadBody   27

Definition at line 8539 of file scanner.cpp.

#define ReadBodyIntf   29

Definition at line 8541 of file scanner.cpp.

#define ReadFuncArgType   83

Definition at line 8595 of file scanner.cpp.

#define ReadInitializer   73

Definition at line 8585 of file scanner.cpp.

#define ReadNSBody   28

Definition at line 8540 of file scanner.cpp.

#define ReadTempArgs   84

Definition at line 8596 of file scanner.cpp.

#define REJECT

Value:

{ \
*yy_cp = (yy_hold_char); /* undo effects of setting up scanYYtext */ \
yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
(yy_lp) = yy_full_lp; /* restore orig. accepting pos. */ \
(yy_state_ptr) = yy_full_state; /* restore orig. state */ \
yy_current_state = *(yy_state_ptr); /* restore curr. state */ \
++(yy_lp); \
goto find_rule; \
}

Definition at line 7820 of file scanner.cpp.

#define scanYYwrap (  )     1

Definition at line 338 of file scanner.cpp.

#define Sharp   44

Definition at line 8556 of file scanner.cpp.

#define SkipComment   40

Definition at line 8552 of file scanner.cpp.

#define SkipCPP   38

Definition at line 8550 of file scanner.cpp.

#define SkipCPPBlock   39

Definition at line 8551 of file scanner.cpp.

#define SkipCurly   32

Definition at line 8544 of file scanner.cpp.

#define SkipCurlyBlock   42

Definition at line 8554 of file scanner.cpp.

#define SkipCurlyCpp   33

Definition at line 8545 of file scanner.cpp.

#define SkipCurlyEndDoc   34

Definition at line 8546 of file scanner.cpp.

#define SkipCxxComment   41

Definition at line 8553 of file scanner.cpp.

#define SkipInits   37

Definition at line 8549 of file scanner.cpp.

#define SkipPHPString   36

Definition at line 8548 of file scanner.cpp.

#define SkipRemainder   48

Definition at line 8560 of file scanner.cpp.

#define SkipRound   46

Definition at line 8558 of file scanner.cpp.

#define SkipRoundBlock   43

Definition at line 8555 of file scanner.cpp.

#define SkipSharp   45

Definition at line 8557 of file scanner.cpp.

#define SkipSquare   47

Definition at line 8559 of file scanner.cpp.

#define SkipString   35

Definition at line 8547 of file scanner.cpp.

#define SkipUnionSwitch   96

Definition at line 8608 of file scanner.cpp.

#define SkipVerbString   60

Definition at line 8572 of file scanner.cpp.

#define Specialization   97

Definition at line 8609 of file scanner.cpp.

#define TryFunctionBlock   50

Definition at line 8562 of file scanner.cpp.

#define TryFunctionBlockEnd   51

Definition at line 8563 of file scanner.cpp.

#define TypedefName   49

Definition at line 8561 of file scanner.cpp.

#define UINT16_MAX   (65535U)

Definition at line 81 of file scanner.cpp.

#define UINT32_MAX   (4294967295U)

Definition at line 84 of file scanner.cpp.

#define UINT8_MAX   (255U)

Definition at line 78 of file scanner.cpp.

#define unput (  )     yyunput( c, (yytext_ptr) )

Definition at line 178 of file scanner.cpp.

#define Using   30

Definition at line 8542 of file scanner.cpp.

#define UsingDirective   31

Definition at line 8543 of file scanner.cpp.

 
#define YY_AT_BOL (  )     (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 334 of file scanner.cpp.

#define YY_BREAK   break;

Definition at line 8769 of file scanner.cpp.

#define YY_BUF_SIZE   262144

Definition at line 142 of file scanner.cpp.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 250 of file scanner.cpp.

#define YY_BUFFER_NEW   0

Definition at line 238 of file scanner.cpp.

#define YY_BUFFER_NORMAL   1

Definition at line 239 of file scanner.cpp.

#define YY_CURRENT_BUFFER

Value:

( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)

Definition at line 266 of file scanner.cpp.

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 273 of file scanner.cpp.

#define YY_DECL   int scanYYlex (void)

Definition at line 8757 of file scanner.cpp.

#define YY_DECL_IS_OURS   1

Definition at line 8753 of file scanner.cpp.

#define YY_DO_BEFORE_ACTION

Value:

(yytext_ptr) = yy_bp; \
        scanYYleng = (size_t) (yy_cp - yy_bp); \
        (yy_hold_char) = *yy_cp; \
        *yy_cp = '\0'; \
        (yy_c_buf_p) = yy_cp;

Definition at line 362 of file scanner.cpp.

#define YY_END_OF_BUFFER   606

Definition at line 370 of file scanner.cpp.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 138 of file scanner.cpp.

#define YY_EXIT_FAILURE   2

#define YY_EXTRA_TYPE   void *

Definition at line 8643 of file scanner.cpp.

#define YY_FATAL_ERROR ( msg   )     yy_fatal_error( msg )

Definition at line 8744 of file scanner.cpp.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 9 of file scanner.cpp.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 10 of file scanner.cpp.

#define YY_FLEX_SUBMINOR_VERSION   33

Definition at line 11 of file scanner.cpp.

#define YY_FLUSH_BUFFER   scanYY_flush_buffer(YY_CURRENT_BUFFER )

Definition at line 302 of file scanner.cpp.

#define YY_INPUT ( buf,
result,
max_size   )     result=yyread(buf,max_size);

Definition at line 8364 of file scanner.cpp.

#define YY_INT_ALIGNED   short int

Definition at line 4 of file scanner.cpp.

#define YY_LESS_LINENO (  ) 

Definition at line 162 of file scanner.cpp.

#define YY_MORE_ADJ   0

Definition at line 7832 of file scanner.cpp.

#define YY_NEVER_INTERACTIVE   1

Definition at line 7880 of file scanner.cpp.

#define yy_new_buffer   scanYY_create_buffer

Definition at line 312 of file scanner.cpp.

#define YY_NEW_FILE   scanYYrestart(scanYYin )

Definition at line 136 of file scanner.cpp.

#define YY_NULL   0

Definition at line 110 of file scanner.cpp.

#define YY_NUM_RULES   605

Definition at line 369 of file scanner.cpp.

#define YY_READ_BUF_SIZE   8192

Definition at line 8682 of file scanner.cpp.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 7833 of file scanner.cpp.

#define YY_RULE_SETUP

Value:

if ( scanYYleng > 0 ) \
                YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
                                (scanYYtext[scanYYleng - 1] == '\n'); \
        YY_USER_ACTION

Definition at line 8772 of file scanner.cpp.

#define YY_SC_TO_UI (  )     ((unsigned int) (unsigned char) c)

Definition at line 117 of file scanner.cpp.

#define yy_set_bol ( at_bol   ) 

Value:

{ \
        if ( ! YY_CURRENT_BUFFER ){\
        scanYYensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            scanYY_create_buffer(scanYYin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
        }

Definition at line 324 of file scanner.cpp.

#define yy_set_interactive ( is_interactive   ) 

Value:

{ \
        if ( ! YY_CURRENT_BUFFER ){ \
        scanYYensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            scanYY_create_buffer(scanYYin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
        }

Definition at line 314 of file scanner.cpp.

#define YY_SKIP_YYWRAP

Definition at line 339 of file scanner.cpp.

#define YY_START   (((yy_start) - 1) / 2)

Definition at line 129 of file scanner.cpp.

#define YY_START_STACK_INCR   25

Definition at line 8739 of file scanner.cpp.

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 147 of file scanner.cpp.

#define YY_STATE_EOF ( state   )     (YY_END_OF_BUFFER + state + 1)

Definition at line 133 of file scanner.cpp.

#define YY_TRAILING_HEAD_MASK   0x4000

Definition at line 7819 of file scanner.cpp.

#define YY_TRAILING_MASK   0x2000

Definition at line 7818 of file scanner.cpp.

#define yyconst

Definition at line 106 of file scanner.cpp.

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up scanYYtext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
                scanYYtext[scanYYleng] = (yy_hold_char); \
                (yy_c_buf_p) = scanYYtext + yyless_macro_arg; \
                (yy_hold_char) = *(yy_c_buf_p); \
                *(yy_c_buf_p) = '\0'; \
                scanYYleng = yyless_macro_arg; \
                } \
        while ( 0 )

Definition at line 165 of file scanner.cpp.

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up scanYYtext. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
                *yy_cp = (yy_hold_char); \
                YY_RESTORE_YY_MORE_OFFSET \
                (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION; /* set up scanYYtext again */ \
                } \
        while ( 0 )

Definition at line 165 of file scanner.cpp.

 
#define yymore (  )     yymore_used_but_not_detected

Definition at line 7831 of file scanner.cpp.

#define YYSTATE   YY_START

Definition at line 130 of file scanner.cpp.

#define YYTABLES_NAME   "yytables"

 
#define yyterminate (  )     return YY_NULL

Definition at line 8734 of file scanner.cpp.

#define yytext_ptr   scanYYtext

Definition at line 352 of file scanner.cpp.


Typedef Documentation

typedef short int flex_int16_t

Definition at line 51 of file scanner.cpp.

typedef int flex_int32_t

Definition at line 52 of file scanner.cpp.

typedef signed char flex_int8_t

Definition at line 50 of file scanner.cpp.

typedef unsigned short int flex_uint16_t

Definition at line 54 of file scanner.cpp.

typedef unsigned int flex_uint32_t

Definition at line 55 of file scanner.cpp.

typedef unsigned char flex_uint8_t

Definition at line 53 of file scanner.cpp.

typedef struct yy_buffer_state* YY_BUFFER_STATE

Definition at line 151 of file scanner.cpp.

typedef unsigned char YY_CHAR

Definition at line 341 of file scanner.cpp.

typedef unsigned int yy_size_t

Definition at line 187 of file scanner.cpp.

typedef int yy_state_type

Definition at line 345 of file scanner.cpp.


Function Documentation

void fixArgumentListForJavaScript ( ArgumentList al  ) 

Definition at line 8347 of file scanner.cpp.

References Argument::name, and Argument::type.

YY_BUFFER_STATE scanYY_create_buffer ( FILE *  file,
int  size 
)

void scanYY_delete_buffer ( YY_BUFFER_STATE  b  ) 

void scanYY_flush_buffer ( YY_BUFFER_STATE  b  ) 

YY_BUFFER_STATE scanYY_scan_buffer ( char *  base,
yy_size_t  size 
)

YY_BUFFER_STATE scanYY_scan_bytes ( yyconst char *  bytes,
int  len 
)

YY_BUFFER_STATE scanYY_scan_string ( yyconst char *  yy_str  ) 

void scanYY_switch_to_buffer ( YY_BUFFER_STATE  new_buffer  ) 

void* scanYYalloc ( yy_size_t   ) 

void scanYYfree ( void *   ) 

int scanYYlex ( void   ) 

void scanYYpop_buffer_state ( void   ) 

void scanYYpush_buffer_state ( YY_BUFFER_STATE  new_buffer  ) 

void* scanYYrealloc ( void *  ,
yy_size_t   
)

void scanYYrestart ( FILE *  input_file  ) 


Variable Documentation

int scanYY_flex_debug = 0

Definition at line 7810 of file scanner.cpp.

int scanYY_flex_debug

Definition at line 7810 of file scanner.cpp.

FILE* scanYYin = (FILE *) 0

Definition at line 343 of file scanner.cpp.

FILE* scanYYin

Definition at line 343 of file scanner.cpp.

int scanYYleng

Definition at line 278 of file scanner.cpp.

int scanYYleng

Definition at line 278 of file scanner.cpp.

int scanYYlineno = 1

Definition at line 349 of file scanner.cpp.

int scanYYlineno

Definition at line 349 of file scanner.cpp.

FILE * scanYYout = (FILE *) 0

Definition at line 343 of file scanner.cpp.

FILE * scanYYout

Definition at line 343 of file scanner.cpp.

char* scanYYtext

Definition at line 7834 of file scanner.cpp.

char* scanYYtext

Definition at line 7834 of file scanner.cpp.



Generated on Mon Mar 31 10:58:54 2008 by  doxygen 1.5.1