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

Method NonLiteral

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

Source from the content-addressed store, hash-verified

2007 * NonLiteral For Grouped Operations, Identifiers, and Functions
2008 */
2009 final public void NonLiteral() throws ParseException {
2010 if (jj_2_7(5)) {
2011 LambdaExpressionOrInvocation();
2012 } else {
2013 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2014 case LPAREN: {
2015 jj_consume_token(LPAREN);
2016 Expression();
2017 jj_consume_token(RPAREN);
2018 break;
2019 }
2020 default:
2021 jj_la1[43] = jj_gen;
2022 if (jj_2_8(2147483647)) {
2023 Function();
2024 } else {
2025 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2026 case IDENTIFIER: {
2027 Identifier();
2028 break;
2029 }
2030 default:
2031 jj_la1[44] = jj_gen;
2032 if (jj_2_9(5)) {
2033 SetData();
2034 } else {
2035 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2036 case LBRACK: {
2037 ListData();
2038 break;
2039 }
2040 case START_SET_OR_MAP: {
2041 MapData();
2042 break;
2043 }
2044 default:
2045 jj_la1[45] = jj_gen;
2046 jj_consume_token(-1);
2047 throw new ParseException();
2048 }
2049 }
2050 }
2051 }
2052 }
2053 }
2054 }
2055
2056 /*
2057 * Note that both an empty Set and an empty Map are represented by {}. The parser will always parse {} as an empty

Callers 1

ValuePrefixMethod · 0.95

Calls 12

jj_2_7Method · 0.95
jj_ntk_fMethod · 0.95
jj_consume_tokenMethod · 0.95
ExpressionMethod · 0.95
jj_2_8Method · 0.95
FunctionMethod · 0.95
IdentifierMethod · 0.95
jj_2_9Method · 0.95
SetDataMethod · 0.95
ListDataMethod · 0.95
MapDataMethod · 0.95

Tested by

no test coverage detected