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

Method LambdaParameters

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

Source from the content-addressed store, hash-verified

432 * Lambda parameters
433 */
434 final public void LambdaParameters() throws ParseException {/* @bgen(jjtree) LambdaParameters */
435 AstLambdaParameters jjtn000 = new AstLambdaParameters(JJTLAMBDAPARAMETERS);
436 boolean jjtc000 = true;
437 jjtree.openNodeScope(jjtn000);
438 try {
439 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
440 case IDENTIFIER: {
441 Identifier();
442 break;
443 }
444 case LPAREN: {
445 jj_consume_token(LPAREN);
446 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
447 case IDENTIFIER: {
448 Identifier();
449 label_4:
450 while (true) {
451 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
452 case COMMA: {
453 ;
454 break;
455 }
456 default:
457 jj_la1[5] = jj_gen;
458 break label_4;
459 }
460 jj_consume_token(COMMA);
461 Identifier();
462 }
463 break;
464 }
465 default:
466 jj_la1[6] = jj_gen;
467 ;
468 }
469 jj_consume_token(RPAREN);
470 break;
471 }
472 default:
473 jj_la1[7] = jj_gen;
474 jj_consume_token(-1);
475 throw new ParseException();
476 }
477 } catch (Throwable jjte000) {
478 if (jjtc000) {
479 jjtree.clearNodeScope(jjtn000);
480 jjtc000 = false;
481 } else {
482 jjtree.popNode();
483 }
484 if (jjte000 instanceof RuntimeException) {
485 {
486 if (true) {
487 throw (RuntimeException) jjte000;
488 }
489 }
490 }
491 if (jjte000 instanceof ParseException) {

Callers 2

LambdaExpressionMethod · 0.95

Calls 7

jj_ntk_fMethod · 0.95
IdentifierMethod · 0.95
jj_consume_tokenMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected