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

Method BooleanLiteral

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

Source from the content-addressed store, hash-verified

2482 }
2483
2484 final public boolean BooleanLiteral() throws ParseException {
2485 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2486 case TRUE:
2487 jj_consume_token(TRUE);
2488 {if (true) return true;}
2489 break;
2490 case FALSE:
2491 jj_consume_token(FALSE);
2492 {if (true) return false;}
2493 break;
2494 default:
2495 jj_la1[65] = jj_gen;
2496 jj_consume_token(-1);
2497 throw new ParseException();
2498 }
2499 throw new Error("Missing return statement in function");
2500 }
2501
2502 final public void NullLiteral() throws ParseException {
2503 jj_consume_token(NULL);

Callers 1

LiteralMethod · 0.95

Calls 2

jj_ntkMethod · 0.95
jj_consume_tokenMethod · 0.95

Tested by

no test coverage detected