MCPcopy Create free account
hub / github.com/apache/tomcat / LambdaExpression

Method LambdaExpression

java/org/apache/el/parser/ELParser.java:364–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 * Lambda expression
363 */
364 final public void LambdaExpression() throws ParseException {/* @bgen(jjtree) LambdaExpression */
365 AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
366 boolean jjtc000 = true;
367 jjtree.openNodeScope(jjtn000);
368 try {
369 LambdaParameters();
370 jj_consume_token(ARROW);
371 if (jj_2_3(3)) {
372 LambdaExpression();
373 } else {
374 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
375 case START_SET_OR_MAP:
376 case INTEGER_LITERAL:
377 case FLOATING_POINT_LITERAL:
378 case STRING_LITERAL:
379 case TRUE:
380 case FALSE:
381 case NULL:
382 case LPAREN:
383 case LBRACK:
384 case NOT0:
385 case NOT1:
386 case EMPTY:
387 case MINUS:
388 case IDENTIFIER: {
389 Choice();
390 break;
391 }
392 default:
393 jj_la1[4] = jj_gen;
394 jj_consume_token(-1);
395 throw new ParseException();
396 }
397 }
398 } catch (Throwable jjte000) {
399 if (jjtc000) {
400 jjtree.clearNodeScope(jjtn000);
401 jjtc000 = false;
402 } else {
403 jjtree.popNode();
404 }
405 if (jjte000 instanceof RuntimeException) {
406 {
407 if (true) {
408 throw (RuntimeException) jjte000;
409 }
410 }
411 }
412 if (jjte000 instanceof ParseException) {
413 {
414 if (true) {
415 throw (ParseException) jjte000;
416 }
417 }
418 }
419 {
420 if (true) {
421 throw (Error) jjte000;

Callers 2

AssignmentMethod · 0.95

Calls 9

LambdaParametersMethod · 0.95
jj_consume_tokenMethod · 0.95
jj_2_3Method · 0.95
jj_ntk_fMethod · 0.95
ChoiceMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected