MCPcopy Create free account
hub / github.com/beanshell/beanshell / Assignment

Method Assignment

src/bsh/Parser.java:1159–1190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1157 }
1158
1159 final public void Assignment() throws ParseException {
1160 /*@bgen(jjtree) Assignment */
1161 BSHAssignment jjtn000 = new BSHAssignment(JJTASSIGNMENT);
1162 boolean jjtc000 = true;
1163 jjtree.openNodeScope(jjtn000);
1164 jjtreeOpenNodeScope(jjtn000);int op ;
1165 try {
1166 PrimaryExpression();
1167 op = AssignmentOperator();
1168 jjtn000.operator = op;
1169 Expression();
1170 } catch (Throwable jjte000) {
1171 if (jjtc000) {
1172 jjtree.clearNodeScope(jjtn000);
1173 jjtc000 = false;
1174 } else {
1175 jjtree.popNode();
1176 }
1177 if (jjte000 instanceof RuntimeException) {
1178 {if (true) throw (RuntimeException)jjte000;}
1179 }
1180 if (jjte000 instanceof ParseException) {
1181 {if (true) throw (ParseException)jjte000;}
1182 }
1183 {if (true) throw (Error)jjte000;}
1184 } finally {
1185 if (jjtc000) {
1186 jjtree.closeNodeScope(jjtn000, true);
1187 jjtreeCloseNodeScope(jjtn000);
1188 }
1189 }
1190 }
1191
1192 final public int AssignmentOperator() throws ParseException {
1193 Token t;

Callers 1

ExpressionMethod · 0.95

Calls 9

jjtreeOpenNodeScopeMethod · 0.95
PrimaryExpressionMethod · 0.95
AssignmentOperatorMethod · 0.95
ExpressionMethod · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
closeNodeScopeMethod · 0.80
popNodeMethod · 0.45

Tested by

no test coverage detected