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

Method Function

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

Source from the content-addressed store, hash-verified

2354 * Function Namespace:Name(a,b,c)
2355 */
2356 final public void Function() throws ParseException {/* @bgen(jjtree) Function */
2357 AstFunction jjtn000 = new AstFunction(JJTFUNCTION);
2358 boolean jjtc000 = true;
2359 jjtree.openNodeScope(jjtn000);
2360 Token t0 = null;
2361 Token t1 = null;
2362 try {
2363 t0 = jj_consume_token(IDENTIFIER);
2364 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2365 case COLON: {
2366 jj_consume_token(COLON);
2367 t1 = jj_consume_token(IDENTIFIER);
2368 break;
2369 }
2370 default:
2371 jj_la1[52] = jj_gen;
2372 ;
2373 }
2374 if (t1 != null) {
2375 jjtn000.setPrefix(t0.image);
2376 jjtn000.setLocalName(t1.image);
2377 } else {
2378 jjtn000.setLocalName(t0.image);
2379 }
2380 label_19:
2381 while (true) {
2382 MethodParameters();
2383 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2384 case LPAREN: {
2385 ;
2386 break;
2387 }
2388 default:
2389 jj_la1[53] = jj_gen;
2390 break label_19;
2391 }
2392 }
2393 } catch (Throwable jjte000) {
2394 if (jjtc000) {
2395 jjtree.clearNodeScope(jjtn000);
2396 jjtc000 = false;
2397 } else {
2398 jjtree.popNode();
2399 }
2400 if (jjte000 instanceof RuntimeException) {
2401 {
2402 if (true) {
2403 throw (RuntimeException) jjte000;
2404 }
2405 }
2406 }
2407 if (jjte000 instanceof ParseException) {
2408 {
2409 if (true) {
2410 throw (ParseException) jjte000;
2411 }
2412 }
2413 }

Callers 1

NonLiteralMethod · 0.95

Calls 9

jj_consume_tokenMethod · 0.95
jj_ntk_fMethod · 0.95
setPrefixMethod · 0.95
setLocalNameMethod · 0.95
MethodParametersMethod · 0.95
openNodeScopeMethod · 0.80
clearNodeScopeMethod · 0.80
popNodeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected