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

Method ExclusiveOrExpression

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

Source from the content-addressed store, hash-verified

1423 }
1424
1425 final public void ExclusiveOrExpression() throws ParseException {
1426 Token t=null;
1427 AndExpression();
1428 label_10:
1429 while (true) {
1430 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1431 case XOR:
1432 ;
1433 break;
1434 default:
1435 jj_la1[35] = jj_gen;
1436 break label_10;
1437 }
1438 t = jj_consume_token(XOR);
1439 AndExpression();
1440 BSHBinaryExpression jjtn001 = new BSHBinaryExpression(JJTBINARYEXPRESSION);
1441 boolean jjtc001 = true;
1442 jjtree.openNodeScope(jjtn001);
1443 jjtreeOpenNodeScope(jjtn001);
1444 try {
1445 jjtree.closeNodeScope(jjtn001, 2);
1446 jjtc001 = false;
1447 jjtreeCloseNodeScope(jjtn001);
1448 jjtn001.kind = t.kind;
1449 } finally {
1450 if (jjtc001) {
1451 jjtree.closeNodeScope(jjtn001, 2);
1452 jjtreeCloseNodeScope(jjtn001);
1453 }
1454 }
1455 }
1456 }
1457
1458 final public void AndExpression() throws ParseException {
1459 Token t=null;

Callers 1

InclusiveOrExpressionMethod · 0.95

Calls 7

AndExpressionMethod · 0.95
jj_ntkMethod · 0.95
jj_consume_tokenMethod · 0.95
jjtreeOpenNodeScopeMethod · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected