edu.toronto.cs.cparser
Class GnuCParser

java.lang.Object
  extended by antlr.Parser
      extended by antlr.LLkParser
          extended by edu.toronto.cs.cparser.GnuCParser
All Implemented Interfaces:
GNUCTokenTypes

public class GnuCParser
extends antlr.LLkParser
implements GNUCTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_21
           
static antlr.collections.impl.BitSet _tokenSet_22
           
static antlr.collections.impl.BitSet _tokenSet_23
           
static antlr.collections.impl.BitSet _tokenSet_24
           
static antlr.collections.impl.BitSet _tokenSet_25
           
static antlr.collections.impl.BitSet _tokenSet_26
           
static antlr.collections.impl.BitSet _tokenSet_27
           
static antlr.collections.impl.BitSet _tokenSet_28
           
static antlr.collections.impl.BitSet _tokenSet_29
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_30
           
static antlr.collections.impl.BitSet _tokenSet_31
           
static antlr.collections.impl.BitSet _tokenSet_32
           
static antlr.collections.impl.BitSet _tokenSet_33
           
static antlr.collections.impl.BitSet _tokenSet_34
           
static antlr.collections.impl.BitSet _tokenSet_35
           
static antlr.collections.impl.BitSet _tokenSet_36
           
static antlr.collections.impl.BitSet _tokenSet_37
           
static antlr.collections.impl.BitSet _tokenSet_38
           
static antlr.collections.impl.BitSet _tokenSet_39
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_40
           
static antlr.collections.impl.BitSet _tokenSet_41
           
static antlr.collections.impl.BitSet _tokenSet_42
           
static antlr.collections.impl.BitSet _tokenSet_43
           
static antlr.collections.impl.BitSet _tokenSet_44
           
static antlr.collections.impl.BitSet _tokenSet_45
           
static antlr.collections.impl.BitSet _tokenSet_46
           
static antlr.collections.impl.BitSet _tokenSet_47
           
static antlr.collections.impl.BitSet _tokenSet_48
           
static antlr.collections.impl.BitSet _tokenSet_49
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_50
           
static antlr.collections.impl.BitSet _tokenSet_51
           
static antlr.collections.impl.BitSet _tokenSet_52
           
static antlr.collections.impl.BitSet _tokenSet_53
           
static antlr.collections.impl.BitSet _tokenSet_54
           
static antlr.collections.impl.BitSet _tokenSet_55
           
static antlr.collections.impl.BitSet _tokenSet_56
           
static antlr.collections.impl.BitSet _tokenSet_57
           
static antlr.collections.impl.BitSet _tokenSet_58
           
static antlr.collections.impl.BitSet _tokenSet_59
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_60
           
static antlr.collections.impl.BitSet _tokenSet_61
           
static antlr.collections.impl.BitSet _tokenSet_62
           
static antlr.collections.impl.BitSet _tokenSet_63
           
static antlr.collections.impl.BitSet _tokenSet_64
           
static antlr.collections.impl.BitSet _tokenSet_65
           
static antlr.collections.impl.BitSet _tokenSet_66
           
static antlr.collections.impl.BitSet _tokenSet_67
           
static antlr.collections.impl.BitSet _tokenSet_68
           
static antlr.collections.impl.BitSet _tokenSet_69
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_70
           
static antlr.collections.impl.BitSet _tokenSet_71
           
static antlr.collections.impl.BitSet _tokenSet_72
           
static antlr.collections.impl.BitSet _tokenSet_73
           
static antlr.collections.impl.BitSet _tokenSet_74
           
static antlr.collections.impl.BitSet _tokenSet_75
           
static antlr.collections.impl.BitSet _tokenSet_76
           
static antlr.collections.impl.BitSet _tokenSet_77
           
static antlr.collections.impl.BitSet _tokenSet_78
           
static antlr.collections.impl.BitSet _tokenSet_79
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_80
           
static antlr.collections.impl.BitSet _tokenSet_81
           
static antlr.collections.impl.BitSet _tokenSet_82
           
static antlr.collections.impl.BitSet _tokenSet_83
           
static antlr.collections.impl.BitSet _tokenSet_84
           
static antlr.collections.impl.BitSet _tokenSet_9
           
static boolean CPPComments
           
 CSymbolTable symbolTable
           
protected  int unnamedScopeCounter
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap
 
Fields inherited from interface edu.toronto.cs.cparser.GNUCTokenTypes
ASSIGN, BadStringLiteral, BAND, BAND_ASSIGN, BNOT, BOR, BOR_ASSIGN, BXOR, BXOR_ASSIGN, CharLiteral, COLON, COMMA, Comment, CPPComment, DEC, Digit, DIV, DIV_ASSIGN, DOT, DoubleDoubleConst, EOF, EQUAL, Escape, Exponent, FloatDoubleConst, FloatSuffix, GT, GTE, ID, INC, IntHexConst, IntIntConst, IntOctalConst, LAND, LBRACKET, LCURLY, LineDirective, LITERAL___alignof, LITERAL___attribute, LITERAL___builtin_va_list, LITERAL___complex, LITERAL___imag, LITERAL___label__, LITERAL___nd_goto, LITERAL___noreturn__, LITERAL___pure__, LITERAL___real, LITERAL___restrict, LITERAL_asm, LITERAL_auto, LITERAL_break, LITERAL_case, LITERAL_char, LITERAL_const, LITERAL_continue, LITERAL_default, LITERAL_do, LITERAL_double, LITERAL_else, LITERAL_enum, LITERAL_extern, LITERAL_float, LITERAL_for, LITERAL_goto, LITERAL_if, LITERAL_inline, LITERAL_int, LITERAL_long, LITERAL_register, LITERAL_return, LITERAL_short, LITERAL_signed, LITERAL_sizeof, LITERAL_static, LITERAL_struct, LITERAL_switch, LITERAL_typedef, LITERAL_typeof, LITERAL_union, LITERAL_unsigned, LITERAL_void, LITERAL_volatile, LITERAL_while, LNOT, LongDoubleConst, LongHexConst, LongIntConst, LongOctalConst, LongSuffix, LOR, LPAREN, LSHIFT, LSHIFT_ASSIGN, LT, LTE, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NAsmAttribute, NCast, NCommaExpr, NCompoundStatement, NDeclaration, NDeclarator, NEmptyExpression, NExpressionGroup, NFunctionCallArgs, NFunctionDef, NGnuAsmExpr, NInitDecl, NInitializer, NInitializerElementLabel, NLabel, NLcurlyInitializer, NNonemptyAbstractDeclarator, NOT_EQUAL, NParameterDeclaration, NParameterTypeList, NPointerGroup, NPostfixExpr, NRangeExpr, NStatementExpr, NStringSeq, NStructDeclarator, NTypedefName, NTypeMissing, NULL_TREE_LOOKAHEAD, Number, NUnaryExpr, PLUS, PLUS_ASSIGN, PREPROC_DIRECTIVE, PTR, QUESTION, RBRACKET, RCURLY, RPAREN, RSHIFT, RSHIFT_ASSIGN, SEMI, Space, STAR, STAR_ASSIGN, StringLiteral, UnsignedHexConst, UnsignedIntConst, UnsignedOctalConst, UnsignedSuffix, VARARGS, Vocabulary, Whitespace
 
Constructor Summary
  GnuCParser(antlr.ParserSharedInputState state)
           
  GnuCParser(antlr.TokenBuffer tokenBuf)
           
protected GnuCParser(antlr.TokenBuffer tokenBuf, int k)
           
  GnuCParser(antlr.TokenStream lexer)
           
protected GnuCParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void additiveExpr()
           
 void argExprList()
           
 void asm_expr()
           
 void assignExpr()
           
 void assignOperator()
           
 void attribute()
           
 void attributeDecl()
           
 void attributeList()
           
 void bitAndExpr()
           
protected  void buildTokenTypeASTClassMap()
           
 void castExpr()
           
protected  void charConst()
           
 void compoundStatement(java.lang.String scopeName)
           
 void conditionalExpr()
           
 void constExpr()
           
 void declaration()
           
 void declarationList()
           
 void declarationPredictor()
           
 java.lang.String declarator(boolean isFunctionDefinition)
           
 void declaratorParamaterList(boolean isFunctionDefinition, java.lang.String declName)
           
 void declSpecifiers()
           
 void dummy()
           
 void enumerator(java.lang.String enumName)
           
 void enumList(java.lang.String enumName)
           
 void enumSpecifier()
           
 void equalityExpr()
           
 void exclusiveOrExpr()
           
 void expr()
           
 void externalDef()
           
 void externalList()
           
protected  void floatConst()
           
 void functionCall()
           
 void functionDeclSpecifiers()
           
 void functionDef()
           
 void functionPrefix()
           
 void functionStorageClassSpecifier()
           
 java.lang.String getAScopeName()
           
 void gnuAsmExpr()
           
 void idList()
           
 void inclusiveOrExpr()
           
 void initDecl(antlr.collections.AST declarationSpecifiers)
           
 void initDeclList(antlr.collections.AST declarationSpecifiers)
           
 void initializer()
           
 void initializerElementLabel()
           
 void initializerList()
           
protected  void intConst()
           
 boolean isTypedefName(java.lang.String name)
           
 void lcurlyInitializer()
           
 void localLabelDeclaration()
           
 void logicalAndExpr()
           
 void logicalOrExpr()
           
 void match(int t)
           
 void multExpr()
           
 void nestedFunctionDef()
           
 void nonemptyAbstractDeclarator()
           
 void parameterDeclaration()
           
 void parameterTypeList()
           
 void pointerGroup()
           
 void popScope()
           
 void postfixExpr()
           
 void postfixSuffix()
           
 void primaryExpr()
           
 void pushScope(java.lang.String scopeName)
           
 void rangeExpr()
           
 void relationalExpr()
           
 void reportError(antlr.RecognitionException ex)
           
 void reportError(java.lang.String s)
           
 void reportWarning(java.lang.String s)
           
 void setTraceFrom(int traceFrom)
           
 void setTraceTo(int traceTo)
           
 void shiftExpr()
           
 void specifierQualifierList()
           
 void statement()
           
 void statementList()
           
 void storageClassSpecifier()
           
protected  void stringConst()
           
 void stringList()
           
 void strOptExprPair()
           
 void structDeclaration()
           
 void structDeclarationList()
           
 void structDeclarator()
           
 void structDeclaratorList()
           
 void structOrUnion()
           
 void structOrUnionSpecifier()
           
 void traceIn(java.lang.String rname)
           
 void traceOut(java.lang.String rname)
           
 void translationUnit()
           
 void typedefName()
           
 void typelessDeclaration()
           
 void typeName()
           
 void typeQualifier()
           
 int typeSpecifier(int specCount)
           
 void unaryExpr()
           
 void unaryOperator()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CPPComments

public static boolean CPPComments

symbolTable

public CSymbolTable symbolTable

unnamedScopeCounter

protected int unnamedScopeCounter

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19

_tokenSet_20

public static final antlr.collections.impl.BitSet _tokenSet_20

_tokenSet_21

public static final antlr.collections.impl.BitSet _tokenSet_21

_tokenSet_22

public static final antlr.collections.impl.BitSet _tokenSet_22

_tokenSet_23

public static final antlr.collections.impl.BitSet _tokenSet_23

_tokenSet_24

public static final antlr.collections.impl.BitSet _tokenSet_24

_tokenSet_25

public static final antlr.collections.impl.BitSet _tokenSet_25

_tokenSet_26

public static final antlr.collections.impl.BitSet _tokenSet_26

_tokenSet_27

public static final antlr.collections.impl.BitSet _tokenSet_27

_tokenSet_28

public static final antlr.collections.impl.BitSet _tokenSet_28

_tokenSet_29

public static final antlr.collections.impl.BitSet _tokenSet_29

_tokenSet_30

public static final antlr.collections.impl.BitSet _tokenSet_30

_tokenSet_31

public static final antlr.collections.impl.BitSet _tokenSet_31

_tokenSet_32

public static final antlr.collections.impl.BitSet _tokenSet_32

_tokenSet_33

public static final antlr.collections.impl.BitSet _tokenSet_33

_tokenSet_34

public static final antlr.collections.impl.BitSet _tokenSet_34

_tokenSet_35

public static final antlr.collections.impl.BitSet _tokenSet_35

_tokenSet_36

public static final antlr.collections.impl.BitSet _tokenSet_36

_tokenSet_37

public static final antlr.collections.impl.BitSet _tokenSet_37

_tokenSet_38

public static final antlr.collections.impl.BitSet _tokenSet_38

_tokenSet_39

public static final antlr.collections.impl.BitSet _tokenSet_39

_tokenSet_40

public static final antlr.collections.impl.BitSet _tokenSet_40

_tokenSet_41

public static final antlr.collections.impl.BitSet _tokenSet_41

_tokenSet_42

public static final antlr.collections.impl.BitSet _tokenSet_42

_tokenSet_43

public static final antlr.collections.impl.BitSet _tokenSet_43

_tokenSet_44

public static final antlr.collections.impl.BitSet _tokenSet_44

_tokenSet_45

public static final antlr.collections.impl.BitSet _tokenSet_45

_tokenSet_46

public static final antlr.collections.impl.BitSet _tokenSet_46

_tokenSet_47

public static final antlr.collections.impl.BitSet _tokenSet_47

_tokenSet_48

public static final antlr.collections.impl.BitSet _tokenSet_48

_tokenSet_49

public static final antlr.collections.impl.BitSet _tokenSet_49

_tokenSet_50

public static final antlr.collections.impl.BitSet _tokenSet_50

_tokenSet_51

public static final antlr.collections.impl.BitSet _tokenSet_51

_tokenSet_52

public static final antlr.collections.impl.BitSet _tokenSet_52

_tokenSet_53

public static final antlr.collections.impl.BitSet _tokenSet_53

_tokenSet_54

public static final antlr.collections.impl.BitSet _tokenSet_54

_tokenSet_55

public static final antlr.collections.impl.BitSet _tokenSet_55

_tokenSet_56

public static final antlr.collections.impl.BitSet _tokenSet_56

_tokenSet_57

public static final antlr.collections.impl.BitSet _tokenSet_57

_tokenSet_58

public static final antlr.collections.impl.BitSet _tokenSet_58

_tokenSet_59

public static final antlr.collections.impl.BitSet _tokenSet_59

_tokenSet_60

public static final antlr.collections.impl.BitSet _tokenSet_60

_tokenSet_61

public static final antlr.collections.impl.BitSet _tokenSet_61

_tokenSet_62

public static final antlr.collections.impl.BitSet _tokenSet_62

_tokenSet_63

public static final antlr.collections.impl.BitSet _tokenSet_63

_tokenSet_64

public static final antlr.collections.impl.BitSet _tokenSet_64

_tokenSet_65

public static final antlr.collections.impl.BitSet _tokenSet_65

_tokenSet_66

public static final antlr.collections.impl.BitSet _tokenSet_66

_tokenSet_67

public static final antlr.collections.impl.BitSet _tokenSet_67

_tokenSet_68

public static final antlr.collections.impl.BitSet _tokenSet_68

_tokenSet_69

public static final antlr.collections.impl.BitSet _tokenSet_69

_tokenSet_70

public static final antlr.collections.impl.BitSet _tokenSet_70

_tokenSet_71

public static final antlr.collections.impl.BitSet _tokenSet_71

_tokenSet_72

public static final antlr.collections.impl.BitSet _tokenSet_72

_tokenSet_73

public static final antlr.collections.impl.BitSet _tokenSet_73

_tokenSet_74

public static final antlr.collections.impl.BitSet _tokenSet_74

_tokenSet_75

public static final antlr.collections.impl.BitSet _tokenSet_75

_tokenSet_76

public static final antlr.collections.impl.BitSet _tokenSet_76

_tokenSet_77

public static final antlr.collections.impl.BitSet _tokenSet_77

_tokenSet_78

public static final antlr.collections.impl.BitSet _tokenSet_78

_tokenSet_79

public static final antlr.collections.impl.BitSet _tokenSet_79

_tokenSet_80

public static final antlr.collections.impl.BitSet _tokenSet_80

_tokenSet_81

public static final antlr.collections.impl.BitSet _tokenSet_81

_tokenSet_82

public static final antlr.collections.impl.BitSet _tokenSet_82

_tokenSet_83

public static final antlr.collections.impl.BitSet _tokenSet_83

_tokenSet_84

public static final antlr.collections.impl.BitSet _tokenSet_84
Constructor Detail

GnuCParser

protected GnuCParser(antlr.TokenBuffer tokenBuf,
                     int k)

GnuCParser

public GnuCParser(antlr.TokenBuffer tokenBuf)

GnuCParser

protected GnuCParser(antlr.TokenStream lexer,
                     int k)

GnuCParser

public GnuCParser(antlr.TokenStream lexer)

GnuCParser

public GnuCParser(antlr.ParserSharedInputState state)
Method Detail

isTypedefName

public boolean isTypedefName(java.lang.String name)

getAScopeName

public java.lang.String getAScopeName()

pushScope

public void pushScope(java.lang.String scopeName)

popScope

public void popScope()

reportError

public void reportError(antlr.RecognitionException ex)
Overrides:
reportError in class antlr.Parser

reportError

public void reportError(java.lang.String s)
Overrides:
reportError in class antlr.Parser

reportWarning

public void reportWarning(java.lang.String s)
Overrides:
reportWarning in class antlr.Parser

match

public void match(int t)
           throws antlr.MismatchedTokenException
Overrides:
match in class antlr.Parser
Throws:
antlr.MismatchedTokenException

traceIn

public void traceIn(java.lang.String rname)
Overrides:
traceIn in class antlr.LLkParser

traceOut

public void traceOut(java.lang.String rname)
Overrides:
traceOut in class antlr.LLkParser

setTraceFrom

public void setTraceFrom(int traceFrom)

setTraceTo

public void setTraceTo(int traceTo)

translationUnit

public final void translationUnit()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

externalList

public final void externalList()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

asm_expr

public final void asm_expr()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expr

public final void expr()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

idList

public final void idList()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

externalDef

public final void externalDef()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declaration

public final void declaration()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionPrefix

public final void functionPrefix()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionDef

public final void functionDef()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typelessDeclaration

public final void typelessDeclaration()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionDeclSpecifiers

public final void functionDeclSpecifiers()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declarator

public final java.lang.String declarator(boolean isFunctionDefinition)
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initDeclList

public final void initDeclList(antlr.collections.AST declarationSpecifiers)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initializer

public final void initializer()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initializerElementLabel

public final void initializerElementLabel()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

assignExpr

public final void assignExpr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

lcurlyInitializer

public final void lcurlyInitializer()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

constExpr

public final void constExpr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rangeExpr

public final void rangeExpr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initializerList

public final void initializerList()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

pointerGroup

public final void pointerGroup()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declaratorParamaterList

public final void declaratorParamaterList(boolean isFunctionDefinition,
                                          java.lang.String declName)
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declSpecifiers

public final void declSpecifiers()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameterTypeList

public final void parameterTypeList()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

parameterDeclaration

public final void parameterDeclaration()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declarationList

public final void declarationList()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

localLabelDeclaration

public final void localLabelDeclaration()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

declarationPredictor

public final void declarationPredictor()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionStorageClassSpecifier

public final void functionStorageClassSpecifier()
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

storageClassSpecifier

public final void storageClassSpecifier()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeQualifier

public final void typeQualifier()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeSpecifier

public final int typeSpecifier(int specCount)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structOrUnionSpecifier

public final void structOrUnionSpecifier()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attributeDecl

public final void attributeDecl()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

enumSpecifier

public final void enumSpecifier()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typedefName

public final void typedefName()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

typeName

public final void typeName()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structOrUnion

public final void structOrUnion()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structDeclarationList

public final void structDeclarationList()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structDeclaration

public final void structDeclaration()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

specifierQualifierList

public final void specifierQualifierList()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structDeclaratorList

public final void structDeclaratorList()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

structDeclarator

public final void structDeclarator()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

enumList

public final void enumList(java.lang.String enumName)
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

enumerator

public final void enumerator(java.lang.String enumName)
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

initDecl

public final void initDecl(antlr.collections.AST declarationSpecifiers)
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attributeList

public final void attributeList()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

stringConst

protected final void stringConst()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attribute

public final void attribute()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

compoundStatement

public final void compoundStatement(java.lang.String scopeName)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

nestedFunctionDef

public final void nestedFunctionDef()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

statementList

public final void statementList()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

statement

public final void statement()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

stringList

public final void stringList()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

conditionalExpr

public final void conditionalExpr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalOrExpr

public final void logicalOrExpr()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

castExpr

public final void castExpr()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unaryExpr

public final void unaryExpr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

nonemptyAbstractDeclarator

public final void nonemptyAbstractDeclarator()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

postfixExpr

public final void postfixExpr()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

unaryOperator

public final void unaryOperator()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

gnuAsmExpr

public final void gnuAsmExpr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

strOptExprPair

public final void strOptExprPair()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

primaryExpr

public final void primaryExpr()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

charConst

protected final void charConst()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

assignOperator

public final void assignOperator()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

logicalAndExpr

public final void logicalAndExpr()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

inclusiveOrExpr

public final void inclusiveOrExpr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

exclusiveOrExpr

public final void exclusiveOrExpr()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

bitAndExpr

public final void bitAndExpr()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

equalityExpr

public final void equalityExpr()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

relationalExpr

public final void relationalExpr()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

shiftExpr

public final void shiftExpr()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

additiveExpr

public final void additiveExpr()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

multExpr

public final void multExpr()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

postfixSuffix

public final void postfixSuffix()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

functionCall

public final void functionCall()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

argExprList

public final void argExprList()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

intConst

protected final void intConst()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

floatConst

protected final void floatConst()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

dummy

public final void dummy()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()