📄 pythongrammar25.java
字号:
addToPeek("pass", false);
break;
case BREAK:
case CONTINUE:
case RETURN:
case YIELD:
case RAISE:
flow_stmt();
break;
case IMPORT:
case FROM:
import_stmt();
break;
case GLOBAL:
global_stmt();
break;
case EXEC:
exec_stmt();
break;
case ASSERT:
assert_stmt();
addToPeek("assert ", false);
break;
default:
jj_la1[20] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
//expr_stmt: testlist (augassign (yield_expr|testlist) |
// ('=' (yield_expr|testlist))*)
final public void expr_stmt() throws ParseException {
SmartTestList();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case PLUSEQ:
jj_consume_token(PLUSEQ);
SimpleNode jjtn001 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[21] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[22] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[23] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[24] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[25] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
case NOT_BOOL:
case LAMBDA:
case AS:
case NAME:
case DECNUMBER:
case HEXNUMBER:
case OCTNUMBER:
case FLOAT:
case COMPLEX:
case SINGLE_STRING:
case SINGLE_STRING2:
case TRIPLE_STRING:
case TRIPLE_STRING2:
case SINGLE_USTRING:
case SINGLE_USTRING2:
case TRIPLE_USTRING:
case TRIPLE_USTRING2:
case 137:
SmartTestList();
break;
default:
jj_la1[26] = 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 = jjtree.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 PLUS:
case MINUS:
case NOT:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -