Package antlr.collections

Examples of antlr.collections.AST


    }

    public final void slist(AST _t) throws RecognitionException
    {

        AST slist_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t423 = _t;
            AST tmp18_AST_in = (AST) _t;
            match( _t,
                   SLIST );
            _t = _t.getFirstChild();
            {
                _loop425 : do
View Full Code Here


    }

    public final void identifier(AST _t) throws RecognitionException
    {

        AST identifier_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case IDENT :
                {
                    AST tmp19_AST_in = (AST) _t;
                    match( _t,
                           IDENT );
                    _t = _t.getNextSibling();
                    break;
                }
                case DOT :
                {
                    AST __t413 = _t;
                    AST tmp20_AST_in = (AST) _t;
                    match( _t,
                           DOT );
                    _t = _t.getFirstChild();
                    identifier( _t );
                    _t = _retTree;
                    AST tmp21_AST_in = (AST) _t;
                    match( _t,
                           IDENT );
                    _t = _t.getNextSibling();
                    _t = __t413;
                    _t = _t.getNextSibling();
View Full Code Here

    }

    public final void identifierStar(AST _t) throws RecognitionException
    {

        AST identifierStar_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case IDENT :
                {
                    AST tmp22_AST_in = (AST) _t;
                    match( _t,
                           IDENT );
                    _t = _t.getNextSibling();
                    break;
                }
                case DOT :
                {
                    AST __t415 = _t;
                    AST tmp23_AST_in = (AST) _t;
                    match( _t,
                           DOT );
                    _t = _t.getFirstChild();
                    identifier( _t );
                    _t = _retTree;
                    {
                        if ( _t == null ) _t = ASTNULL;
                        switch ( _t.getType() )
                        {
                            case STAR :
                            {
                                AST tmp24_AST_in = (AST) _t;
                                match( _t,
                                       STAR );
                                _t = _t.getNextSibling();
                                break;
                            }
                            case IDENT :
                            {
                                AST tmp25_AST_in = (AST) _t;
                                match( _t,
                                       IDENT );
                                _t = _t.getNextSibling();
                                break;
                            }
View Full Code Here

    }

    public final void modifiers(AST _t) throws RecognitionException
    {

        AST modifiers_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t360 = _t;
            AST tmp26_AST_in = (AST) _t;
            match( _t,
                   MODIFIERS );
            _t = _t.getFirstChild();
            {
                _loop362 : do
View Full Code Here

    }

    public final void extendsClause(AST _t) throws RecognitionException
    {

        AST extendsClause_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t365 = _t;
            AST tmp27_AST_in = (AST) _t;
            match( _t,
                   EXTENDS_CLAUSE );
            _t = _t.getFirstChild();
            {
                _loop367 : do
View Full Code Here

    }

    public final void implementsClause(AST _t) throws RecognitionException
    {

        AST implementsClause_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t369 = _t;
            AST tmp28_AST_in = (AST) _t;
            match( _t,
                   IMPLEMENTS_CLAUSE );
            _t = _t.getFirstChild();
            {
                _loop371 : do
View Full Code Here

    }

    public final void objBlock(AST _t) throws RecognitionException
    {

        AST objBlock_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t377 = _t;
            AST tmp29_AST_in = (AST) _t;
            match( _t,
                   OBJBLOCK );
            _t = _t.getFirstChild();
            {
                _loop381 : do
                {
                    if ( _t == null ) _t = ASTNULL;
                    switch ( _t.getType() )
                    {
                        case CTOR_DEF :
                        {
                            ctorDef( _t );
                            _t = _retTree;
                            break;
                        }
                        case METHOD_DEF :
                        {
                            methodDef( _t );
                            _t = _retTree;
                            break;
                        }
                        case VARIABLE_DEF :
                        {
                            variableDef( _t );
                            _t = _retTree;
                            break;
                        }
                        case CLASS_DEF :
                        case INTERFACE_DEF :
                        {
                            typeDefinition( _t );
                            _t = _retTree;
                            break;
                        }
                        case STATIC_INIT :
                        {
                            AST __t379 = _t;
                            AST tmp30_AST_in = (AST) _t;
                            match( _t,
                                   STATIC_INIT );
                            _t = _t.getFirstChild();
                            slist( _t );
                            _t = _retTree;
                            _t = __t379;
                            _t = _t.getNextSibling();
                            break;
                        }
                        case INSTANCE_INIT :
                        {
                            AST __t380 = _t;
                            AST tmp31_AST_in = (AST) _t;
                            match( _t,
                                   INSTANCE_INIT );
                            _t = _t.getFirstChild();
                            slist( _t );
                            _t = _retTree;
View Full Code Here

    }

    public final void interfaceBlock(AST _t) throws RecognitionException
    {

        AST interfaceBlock_AST_in = (AST) _t;

        try
        { // for error handling
            AST __t373 = _t;
            AST tmp32_AST_in = (AST) _t;
            match( _t,
                   OBJBLOCK );
            _t = _t.getFirstChild();
            {
                _loop375 : do
View Full Code Here

    }

    public final void typeSpecArray(AST _t) throws RecognitionException
    {

        AST typeSpecArray_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
            {
                case ARRAY_DECLARATOR :
                {
                    AST __t356 = _t;
                    AST tmp33_AST_in = (AST) _t;
                    match( _t,
                           ARRAY_DECLARATOR );
                    _t = _t.getFirstChild();
                    typeSpecArray( _t );
                    _t = _retTree;
View Full Code Here

    }

    public final void type(AST _t) throws RecognitionException
    {

        AST type_AST_in = (AST) _t;

        try
        { // for error handling
            if ( _t == null ) _t = ASTNULL;
            switch ( _t.getType() )
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.