Class GnuCTreeParser

    • Field Detail

      • _tokenNames

        public static final String[] _tokenNames
      • _tokenSet_0

        public static final BitSet _tokenSet_0
      • _tokenSet_1

        public static final BitSet _tokenSet_1
      • _tokenSet_2

        public static final BitSet _tokenSet_2
      • _tokenSet_3

        public static final BitSet _tokenSet_3
    • Constructor Detail

      • GnuCTreeParser

        public GnuCTreeParser()
    • Method Detail

      • reportError

        public void reportError​(RecognitionException ex)
      • reportError

        public void reportError​(NoViableAltException ex)
      • reportError

        public void reportError​(MismatchedTokenException ex)
      • reportWarning

        public void reportWarning​(String s)
      • match

        protected void match​(AST t,
                             int ttype)
                      throws MismatchedTokenException
        Throws:
        MismatchedTokenException
      • match

        public void match​(AST t,
                          BitSet b)
                   throws MismatchedTokenException
        Throws:
        MismatchedTokenException
      • matchNot

        protected void matchNot​(AST t,
                                int ttype)
                         throws MismatchedTokenException
        Throws:
        MismatchedTokenException
      • traceIn

        public void traceIn​(String rname,
                            AST t)
      • traceOut

        public void traceOut​(String rname,
                             AST t)
      • translationUnit

        public final void translationUnit​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • externalList

        public final void externalList​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • externalDef

        public final void externalDef​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • declaration

        public final void declaration​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • functionDef

        public final void functionDef​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • asm_expr

        public final void asm_expr​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • typelessDeclaration

        public final void typelessDeclaration​(AST _t)
                                       throws RecognitionException
        Throws:
        RecognitionException
      • initDeclList

        public final void initDeclList​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • expr

        public final void expr​(AST _t)
                        throws RecognitionException
        Throws:
        RecognitionException
      • declSpecifiers

        public final void declSpecifiers​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • storageClassSpecifier

        public final void storageClassSpecifier​(AST _t)
                                         throws RecognitionException
        Throws:
        RecognitionException
      • typeQualifier

        public final void typeQualifier​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • typeSpecifier

        public final void typeSpecifier​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • functionStorageClassSpecifier

        public final void functionStorageClassSpecifier​(AST _t)
                                                 throws RecognitionException
        Throws:
        RecognitionException
      • structSpecifier

        public final void structSpecifier​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • attributeDecl

        public final void attributeDecl​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • unionSpecifier

        public final void unionSpecifier​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • enumSpecifier

        public final void enumSpecifier​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • typedefName

        public final void typedefName​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • typeName

        public final void typeName​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • structOrUnionBody

        public final void structOrUnionBody​(AST _t)
                                     throws RecognitionException
        Throws:
        RecognitionException
      • structDeclarationList

        public final void structDeclarationList​(AST _t)
                                         throws RecognitionException
        Throws:
        RecognitionException
      • structDeclaration

        public final void structDeclaration​(AST _t)
                                     throws RecognitionException
        Throws:
        RecognitionException
      • specifierQualifierList

        public final void specifierQualifierList​(AST _t)
                                          throws RecognitionException
        Throws:
        RecognitionException
      • structDeclaratorList

        public final void structDeclaratorList​(AST _t)
                                        throws RecognitionException
        Throws:
        RecognitionException
      • structDeclarator

        public final void structDeclarator​(AST _t)
                                    throws RecognitionException
        Throws:
        RecognitionException
      • declarator

        public final void declarator​(AST _t)
                              throws RecognitionException
        Throws:
        RecognitionException
      • enumList

        public final void enumList​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • enumerator

        public final void enumerator​(AST _t)
                              throws RecognitionException
        Throws:
        RecognitionException
      • initDecl

        public final void initDecl​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • initializer

        public final void initializer​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • pointerGroup

        public final void pointerGroup​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • idList

        public final void idList​(AST _t)
                          throws RecognitionException
        Throws:
        RecognitionException
      • initializerElementLabel

        public final void initializerElementLabel​(AST _t)
                                           throws RecognitionException
        Throws:
        RecognitionException
      • lcurlyInitializer

        public final void lcurlyInitializer​(AST _t)
                                     throws RecognitionException
        Throws:
        RecognitionException
      • initializerList

        public final void initializerList​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • parameterTypeList

        public final void parameterTypeList​(AST _t)
                                     throws RecognitionException
        Throws:
        RecognitionException
      • parameterDeclaration

        public final void parameterDeclaration​(AST _t)
                                        throws RecognitionException
        Throws:
        RecognitionException
      • nonemptyAbstractDeclarator

        public final void nonemptyAbstractDeclarator​(AST _t)
                                              throws RecognitionException
        Throws:
        RecognitionException
      • functionDeclSpecifiers

        public final void functionDeclSpecifiers​(AST _t)
                                          throws RecognitionException
        Throws:
        RecognitionException
      • compoundStatement

        public final void compoundStatement​(AST _t)
                                     throws RecognitionException
        Throws:
        RecognitionException
      • declarationList

        public final void declarationList​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • localLabelDecl

        public final void localLabelDecl​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • statementList

        public final void statementList​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • statement

        public final void statement​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • statementBody

        public final void statementBody​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • assignExpr

        public final void assignExpr​(AST _t)
                              throws RecognitionException
        Throws:
        RecognitionException
      • conditionalExpr

        public final void conditionalExpr​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • logicalOrExpr

        public final void logicalOrExpr​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • logicalAndExpr

        public final void logicalAndExpr​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • inclusiveOrExpr

        public final void inclusiveOrExpr​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • exclusiveOrExpr

        public final void exclusiveOrExpr​(AST _t)
                                   throws RecognitionException
        Throws:
        RecognitionException
      • bitAndExpr

        public final void bitAndExpr​(AST _t)
                              throws RecognitionException
        Throws:
        RecognitionException
      • equalityExpr

        public final void equalityExpr​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • relationalExpr

        public final void relationalExpr​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • shiftExpr

        public final void shiftExpr​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • additiveExpr

        public final void additiveExpr​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • multExpr

        public final void multExpr​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • castExpr

        public final void castExpr​(AST _t)
                            throws RecognitionException
        Throws:
        RecognitionException
      • unaryExpr

        public final void unaryExpr​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • postfixExpr

        public final void postfixExpr​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • primaryExpr

        public final void primaryExpr​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • commaExpr

        public final void commaExpr​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • emptyExpr

        public final void emptyExpr​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • compoundStatementExpr

        public final void compoundStatementExpr​(AST _t)
                                         throws RecognitionException
        Throws:
        RecognitionException
      • rangeExpr

        public final void rangeExpr​(AST _t)
                             throws RecognitionException
        Throws:
        RecognitionException
      • gnuAsmExpr

        public final void gnuAsmExpr​(AST _t)
                              throws RecognitionException
        Throws:
        RecognitionException
      • stringConst

        protected final void stringConst​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • strOptExprPair

        public final void strOptExprPair​(AST _t)
                                  throws RecognitionException
        Throws:
        RecognitionException
      • unaryOperator

        public final void unaryOperator​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException
      • argExprList

        public final void argExprList​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • charConst

        protected final void charConst​(AST _t)
                                throws RecognitionException
        Throws:
        RecognitionException
      • intConst

        protected final void intConst​(AST _t)
                               throws RecognitionException
        Throws:
        RecognitionException
      • floatConst

        protected final void floatConst​(AST _t)
                                 throws RecognitionException
        Throws:
        RecognitionException