Package antlr.collections

Examples of antlr.collections.AST


    }

    public final void builtInType(AST _t) throws RecognitionException
    {

        AST builtInType_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case LITERAL_void :
                {
                    AST tmp34_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_void );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_boolean :
                {
                    AST tmp35_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_boolean );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_byte :
                {
                    AST tmp36_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_byte );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_char :
                {
                    AST tmp37_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_char );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_short :
                {
                    AST tmp38_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_short );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_int :
                {
                    AST tmp39_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_int );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_float :
                {
                    AST tmp40_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_float );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_long :
                {
                    AST tmp41_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_long );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_double :
                {
                    AST tmp42_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_double );
                    _t = _t.getNextSibling();
                    break;
                }
View Full Code Here


    }

    public final void modifier(AST _t) throws RecognitionException
    {

        AST modifier_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case LITERAL_private :
                {
                    AST tmp43_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_private );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_public :
                {
                    AST tmp44_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_public );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_protected :
                {
                    AST tmp45_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_protected );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_static :
                {
                    AST tmp46_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_static );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_transient :
                {
                    AST tmp47_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_transient );
                    _t = _t.getNextSibling();
                    break;
                }
                case FINAL :
                {
                    AST tmp48_AST_in = (AST) _t;
                    match( _t,
                           FINAL );
                    _t = _t.getNextSibling();
                    break;
                }
                case ABSTRACT :
                {
                    AST tmp49_AST_in = (AST) _t;
                    match( _t,
                           ABSTRACT );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_native :
                {
                    AST tmp50_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_native );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_threadsafe :
                {
                    AST tmp51_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_threadsafe );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_synchronized :
                {
                    AST tmp52_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_synchronized );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_const :
                {
                    AST tmp53_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_const );
                    _t = _t.getNextSibling();
                    break;
                }
                case LITERAL_volatile :
                {
                    AST tmp54_AST_in = (AST) _t;
                    match( _t,
                           LITERAL_volatile );
                    _t = _t.getNextSibling();
                    break;
                }
                case STRICTFP :
                {
                    AST tmp55_AST_in = (AST) _t;
                    match( _t,
                           STRICTFP );
                    _t = _t.getNextSibling();
                    break;
                }
View Full Code Here

    }

    public final void methodDecl(AST _t) throws RecognitionException
    {

        AST methodDecl_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t385 = _t;
            AST tmp56_AST_in = (AST) _t;
            match( _t,
                   METHOD_DEF );
            _t = _t.getFirstChild();
            modifiers( _t );
            _t = _retTree;
View Full Code Here

    }

    public final void variableDef(AST _t) throws RecognitionException
    {

        AST variableDef_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t390 = _t;
            AST tmp57_AST_in = (AST) _t;
            match( _t,
                   VARIABLE_DEF );
            _t = _t.getFirstChild();
            modifiers( _t );
            _t = _retTree;
View Full Code Here

    }

    public final void ctorDef(AST _t) throws RecognitionException
    {

        AST ctorDef_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t383 = _t;
            AST tmp58_AST_in = (AST) _t;
            match( _t,
                   CTOR_DEF );
            _t = _t.getFirstChild();
            modifiers( _t );
            _t = _retTree;
View Full Code Here

    }

    public final void methodDef(AST _t) throws RecognitionException
    {

        AST methodDef_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t387 = _t;
            AST tmp59_AST_in = (AST) _t;
            match( _t,
                   METHOD_DEF );
            _t = _t.getFirstChild();
            modifiers( _t );
            _t = _retTree;
View Full Code Here

    }

    public final void methodHead(AST _t) throws RecognitionException
    {

        AST methodHead_AST_in = (AST) _t;

        try
        { // for error handling
            AST tmp60_AST_in = (AST) _t;
            match( _t,
                   IDENT );
            _t = _t.getNextSibling();
            AST __t404 = _t;
            AST tmp61_AST_in = (AST) _t;
            match( _t,
                   PARAMETERS );
            _t = _t.getFirstChild();
            {
                _loop406 : do
View Full Code Here

    }

    public final void ctorSList(AST _t) throws RecognitionException
    {

        AST ctorSList_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t418 = _t;
            AST tmp62_AST_in = (AST) _t;
            match( _t,
                   SLIST );
            _t = _t.getFirstChild();
            {
                if ( _t == null ) _t = ASTNULL;
View Full Code Here

    }

    public final void variableDeclarator(AST _t) throws RecognitionException
    {

        AST variableDeclarator_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case IDENT :
                {
                    AST tmp63_AST_in = (AST) _t;
                    match( _t,
                           IDENT );
                    _t = _t.getNextSibling();
                    break;
                }
                case LBRACK :
                {
                    AST tmp64_AST_in = (AST) _t;
                    match( _t,
                           LBRACK );
                    _t = _t.getNextSibling();
                    variableDeclarator( _t );
                    _t = _retTree;
View Full Code Here

    }

    public final void varInitializer(AST _t) throws RecognitionException
    {

        AST varInitializer_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case ASSIGN :
                {
                    AST __t397 = _t;
                    AST tmp65_AST_in = (AST) _t;
                    match( _t,
                           ASSIGN );
                    _t = _t.getFirstChild();
                    initializer( _t );
                    _t = _retTree;
View Full Code Here

TOP

Related Classes of antlr.collections.AST

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.