Package org.python.pydev.parser.jython

Examples of org.python.pydev.parser.jython.SimpleNode


        }
    }

    final public void onlykeywordarg() throws ParseException {
        /*@bgen(jjtree) onlykeywordarg */
        SimpleNode jjtn000 = builder.openNode(JJTONLYKEYWORDARG);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            fpdef();
View Full Code Here


        }
    }

    final public void defaultarg() throws ParseException {
        /*@bgen(jjtree) defaultarg */
        SimpleNode jjtn000 = builder.openNode(JJTDEFAULTARG);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            fpdef();
View Full Code Here

    }

    //fplist: fpdef (',' fpdef)* [',']
    final public void fplist() throws ParseException {
        /*@bgen(jjtree) tuple */
        SimpleNode jjtn000 = builder.openNode(JJTTUPLE);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            fpdef();
View Full Code Here

        }
    }

    //small_stmt: expr_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | nonlocal_stmt | assert_stmt
    final public void small_stmt() throws ParseException {
        SimpleNode simpleNode;
        Token spStr;
        switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
            case LPAREN:
            case LBRACE:
            case LBRACKET:
View Full Code Here

    final public void expr_stmt() throws ParseException {
        testlist_star_expr();
        switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
            case PLUSEQ:
                jj_consume_token(PLUSEQ);
                SimpleNode jjtn001 = builder.openNode(JJTAUG_PLUS);
                boolean jjtc001 = true;
                jjtree.openNodeScope(jjtn001);
                jjtreeOpenNodeScope(jjtn001);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[31] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte001) {
                    if (jjtc001) {
                        jjtree.clearNodeScope(jjtn001);
                        jjtc001 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte001 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte001;
                        }
                    }
                    if (jjte001 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte001;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte001;
                    }
                } finally {
                    if (jjtc001) {
                        jjtree.closeNodeScope(jjtn001, 2);
                        jjtreeCloseNodeScope(jjtn001);
                    }
                }
                break;
            case MINUSEQ:
                jj_consume_token(MINUSEQ);
                SimpleNode jjtn002 = builder.openNode(JJTAUG_MINUS);
                boolean jjtc002 = true;
                jjtree.openNodeScope(jjtn002);
                jjtreeOpenNodeScope(jjtn002);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[32] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte002) {
                    if (jjtc002) {
                        jjtree.clearNodeScope(jjtn002);
                        jjtc002 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte002 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte002;
                        }
                    }
                    if (jjte002 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte002;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte002;
                    }
                } finally {
                    if (jjtc002) {
                        jjtree.closeNodeScope(jjtn002, 2);
                        jjtreeCloseNodeScope(jjtn002);
                    }
                }
                break;
            case MULTIPLYEQ:
                jj_consume_token(MULTIPLYEQ);
                SimpleNode jjtn003 = builder.openNode(JJTAUG_MULTIPLY);
                boolean jjtc003 = true;
                jjtree.openNodeScope(jjtn003);
                jjtreeOpenNodeScope(jjtn003);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[33] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte003) {
                    if (jjtc003) {
                        jjtree.clearNodeScope(jjtn003);
                        jjtc003 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte003 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte003;
                        }
                    }
                    if (jjte003 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte003;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte003;
                    }
                } finally {
                    if (jjtc003) {
                        jjtree.closeNodeScope(jjtn003, 2);
                        jjtreeCloseNodeScope(jjtn003);
                    }
                }
                break;
            case DIVIDEEQ:
                jj_consume_token(DIVIDEEQ);
                SimpleNode jjtn004 = builder.openNode(JJTAUG_DIVIDE);
                boolean jjtc004 = true;
                jjtree.openNodeScope(jjtn004);
                jjtreeOpenNodeScope(jjtn004);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[34] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte004) {
                    if (jjtc004) {
                        jjtree.clearNodeScope(jjtn004);
                        jjtc004 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte004 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte004;
                        }
                    }
                    if (jjte004 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte004;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte004;
                    }
                } finally {
                    if (jjtc004) {
                        jjtree.closeNodeScope(jjtn004, 2);
                        jjtreeCloseNodeScope(jjtn004);
                    }
                }
                break;
            case FLOORDIVIDEEQ:
                jj_consume_token(FLOORDIVIDEEQ);
                SimpleNode jjtn005 = builder.openNode(JJTAUG_FLOORDIVIDE);
                boolean jjtc005 = true;
                jjtree.openNodeScope(jjtn005);
                jjtreeOpenNodeScope(jjtn005);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[35] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte005) {
                    if (jjtc005) {
                        jjtree.clearNodeScope(jjtn005);
                        jjtc005 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte005 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte005;
                        }
                    }
                    if (jjte005 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte005;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte005;
                    }
                } finally {
                    if (jjtc005) {
                        jjtree.closeNodeScope(jjtn005, 2);
                        jjtreeCloseNodeScope(jjtn005);
                    }
                }
                break;
            case MODULOEQ:
                jj_consume_token(MODULOEQ);
                SimpleNode jjtn006 = builder.openNode(JJTAUG_MODULO);
                boolean jjtc006 = true;
                jjtree.openNodeScope(jjtn006);
                jjtreeOpenNodeScope(jjtn006);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[36] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte006) {
                    if (jjtc006) {
                        jjtree.clearNodeScope(jjtn006);
                        jjtc006 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte006 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte006;
                        }
                    }
                    if (jjte006 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte006;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte006;
                    }
                } finally {
                    if (jjtc006) {
                        jjtree.closeNodeScope(jjtn006, 2);
                        jjtreeCloseNodeScope(jjtn006);
                    }
                }
                break;
            case ANDEQ:
                jj_consume_token(ANDEQ);
                SimpleNode jjtn007 = builder.openNode(JJTAUG_AND);
                boolean jjtc007 = true;
                jjtree.openNodeScope(jjtn007);
                jjtreeOpenNodeScope(jjtn007);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[37] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte007) {
                    if (jjtc007) {
                        jjtree.clearNodeScope(jjtn007);
                        jjtc007 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte007 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte007;
                        }
                    }
                    if (jjte007 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte007;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte007;
                    }
                } finally {
                    if (jjtc007) {
                        jjtree.closeNodeScope(jjtn007, 2);
                        jjtreeCloseNodeScope(jjtn007);
                    }
                }
                break;
            case OREQ:
                jj_consume_token(OREQ);
                SimpleNode jjtn008 = builder.openNode(JJTAUG_OR);
                boolean jjtc008 = true;
                jjtree.openNodeScope(jjtn008);
                jjtreeOpenNodeScope(jjtn008);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[38] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte008) {
                    if (jjtc008) {
                        jjtree.clearNodeScope(jjtn008);
                        jjtc008 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte008 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte008;
                        }
                    }
                    if (jjte008 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte008;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte008;
                    }
                } finally {
                    if (jjtc008) {
                        jjtree.closeNodeScope(jjtn008, 2);
                        jjtreeCloseNodeScope(jjtn008);
                    }
                }
                break;
            case XOREQ:
                jj_consume_token(XOREQ);
                SimpleNode jjtn009 = builder.openNode(JJTAUG_XOR);
                boolean jjtc009 = true;
                jjtree.openNodeScope(jjtn009);
                jjtreeOpenNodeScope(jjtn009);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[39] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte009) {
                    if (jjtc009) {
                        jjtree.clearNodeScope(jjtn009);
                        jjtc009 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte009 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte009;
                        }
                    }
                    if (jjte009 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte009;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte009;
                    }
                } finally {
                    if (jjtc009) {
                        jjtree.closeNodeScope(jjtn009, 2);
                        jjtreeCloseNodeScope(jjtn009);
                    }
                }
                break;
            case LSHIFTEQ:
                jj_consume_token(LSHIFTEQ);
                SimpleNode jjtn010 = builder.openNode(JJTAUG_LSHIFT);
                boolean jjtc010 = true;
                jjtree.openNodeScope(jjtn010);
                jjtreeOpenNodeScope(jjtn010);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[40] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte010) {
                    if (jjtc010) {
                        jjtree.clearNodeScope(jjtn010);
                        jjtc010 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte010 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte010;
                        }
                    }
                    if (jjte010 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte010;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte010;
                    }
                } finally {
                    if (jjtc010) {
                        jjtree.closeNodeScope(jjtn010, 2);
                        jjtreeCloseNodeScope(jjtn010);
                    }
                }
                break;
            case RSHIFTEQ:
                jj_consume_token(RSHIFTEQ);
                SimpleNode jjtn011 = builder.openNode(JJTAUG_RSHIFT);
                boolean jjtc011 = true;
                jjtree.openNodeScope(jjtn011);
                jjtreeOpenNodeScope(jjtn011);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[41] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte011) {
                    if (jjtc011) {
                        jjtree.clearNodeScope(jjtn011);
                        jjtc011 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte011 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte011;
                        }
                    }
                    if (jjte011 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte011;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte011;
                    }
                } finally {
                    if (jjtc011) {
                        jjtree.closeNodeScope(jjtn011, 2);
                        jjtreeCloseNodeScope(jjtn011);
                    }
                }
                break;
            case POWEREQ:
                jj_consume_token(POWEREQ);
                SimpleNode jjtn012 = builder.openNode(JJTAUG_POWER);
                boolean jjtc012 = true;
                jjtree.openNodeScope(jjtn012);
                jjtreeOpenNodeScope(jjtn012);
                try {
                    switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
                        case YIELD:
                            yield_expr();
                            break;
                        case LPAREN:
                        case LBRACE:
                        case LBRACKET:
                        case DOT:
                        case PLUS:
                        case MINUS:
                        case NOT:
                        case NOT_BOOL:
                        case LAMBDA:
                        case FALSE:
                        case TRUE:
                        case NONE:
                        case NAME:
                        case DECNUMBER:
                        case HEXNUMBER:
                        case OCTNUMBER:
                        case BINNUMBER:
                        case FLOAT:
                        case COMPLEX:
                        case SINGLE_STRING:
                        case SINGLE_STRING2:
                        case TRIPLE_STRING:
                        case TRIPLE_STRING2:
                        case SINGLE_BSTRING:
                        case SINGLE_BSTRING2:
                        case TRIPLE_BSTRING:
                        case TRIPLE_BSTRING2:
                            SmartTestList();
                            break;
                        default:
                            jj_la1[42] = jj_gen;
                            jj_consume_token(-1);
                            throw new ParseException();
                    }
                } catch (Throwable jjte012) {
                    if (jjtc012) {
                        jjtree.clearNodeScope(jjtn012);
                        jjtc012 = false;
                    } else {
                        jjtree.popNode();
                    }
                    if (jjte012 instanceof RuntimeException) {
                        {
                            if (true)
                                throw (RuntimeException) jjte012;
                        }
                    }
                    if (jjte012 instanceof ParseException) {
                        {
                            if (true)
                                throw (ParseException) jjte012;
                        }
                    }
                    {
                        if (true)
                            throw (Error) jjte012;
                    }
                } finally {
                    if (jjtc012) {
                        jjtree.closeNodeScope(jjtn012, 2);
                        jjtreeCloseNodeScope(jjtn012);
                    }
                }
                break;
            default:
                jj_la1[45] = jj_gen;
                SimpleNode jjtn013 = builder.openNode(JJTEXPR_STMT);
                boolean jjtc013 = true;
                jjtree.openNodeScope(jjtn013);
                jjtreeOpenNodeScope(jjtn013);
                try {
                    label_11: while (true) {
View Full Code Here

    }

    //del_stmt: 'del' exprlist
    final public void del_stmt() throws ParseException {
        /*@bgen(jjtree) del_stmt */
        SimpleNode jjtn000 = builder.openNode(JJTDEL_STMT);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            begin_del_stmt();
View Full Code Here

        }
    }

    final public void begin_del_stmt() throws ParseException {
        /*@bgen(jjtree) begin_del_stmt */
        SimpleNode jjtn000 = builder.openNode(JJTBEGIN_DEL_STMT);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            temporaryToken = jj_consume_token(DEL);
View Full Code Here

    }

    //pass_stmt: 'pass'
    final public Token pass_stmt() throws ParseException {
        /*@bgen(jjtree) pass_stmt */
        SimpleNode jjtn000 = builder.openNode(JJTPASS_STMT);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        Token spStr;
        try {
View Full Code Here

    //flow_stmt: break_stmt | continue_stmt | return_stmt | yield_stmt | raise_stmt
    final public void flow_stmt() throws ParseException {
        switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
            case BREAK:
                jj_consume_token(BREAK);
                SimpleNode jjtn001 = builder.openNode(JJTBREAK_STMT);
                boolean jjtc001 = true;
                jjtree.openNodeScope(jjtn001);
                jjtreeOpenNodeScope(jjtn001);
                try {
                    jjtree.closeNodeScope(jjtn001, 0);
                    jjtc001 = false;
                    jjtreeCloseNodeScope(jjtn001);
                    grammarActions.addToPeek("break", true);
                } finally {
                    if (jjtc001) {
                        jjtree.closeNodeScope(jjtn001, 0);
                        jjtreeCloseNodeScope(jjtn001);
                    }
                }
                break;
            case CONTINUE:
                jj_consume_token(CONTINUE);
                SimpleNode jjtn002 = builder.openNode(JJTCONTINUE_STMT);
                boolean jjtc002 = true;
                jjtree.openNodeScope(jjtn002);
                jjtreeOpenNodeScope(jjtn002);
                try {
                    jjtree.closeNodeScope(jjtn002, 0);
View Full Code Here

    }

    //return_stmt: 'return' [testlist]
    final public void return_stmt() throws ParseException {
        /*@bgen(jjtree) return_stmt */
        SimpleNode jjtn000 = builder.openNode(JJTRETURN_STMT);
        boolean jjtc000 = true;
        jjtree.openNodeScope(jjtn000);
        jjtreeOpenNodeScope(jjtn000);
        try {
            begin_return_stmt();
View Full Code Here

TOP

Related Classes of org.python.pydev.parser.jython.SimpleNode

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.