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

Method ListData

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

Source from the content-addressed store, hash-verified

2134 }
2135
2136 final public void ListData() throws ParseException {/* @bgen(jjtree) ListData */
2137 AstListData jjtn000 = new AstListData(JJTLISTDATA);
2138 boolean jjtc000 = true;
2139 jjtree.openNodeScope(jjtn000);
2140 try {
2141 jj_consume_token(LBRACK);
2142 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2143 case START_SET_OR_MAP:
2144 case INTEGER_LITERAL:
2145 case FLOATING_POINT_LITERAL:
2146 case STRING_LITERAL:
2147 case TRUE:
2148 case FALSE:
2149 case NULL:
2150 case LPAREN:
2151 case LBRACK:
2152 case NOT0:
2153 case NOT1:
2154 case EMPTY:
2155 case MINUS:
2156 case IDENTIFIER: {
2157 Expression();
2158 label_17:
2159 while (true) {
2160 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2161 case COMMA: {
2162 ;
2163 break;
2164 }
2165 default:
2166 jj_la1[48] = jj_gen;
2167 break label_17;
2168 }
2169 jj_consume_token(COMMA);
2170 Expression();
2171 }
2172 break;
2173 }
2174 default:
2175 jj_la1[49] = jj_gen;
2176 ;
2177 }
2178 jj_consume_token(RBRACK);
2179 } catch (Throwable jjte000) {
2180 if (jjtc000) {
2181 jjtree.clearNodeScope(jjtn000);
2182 jjtc000 = false;
2183 } else {
2184 jjtree.popNode();
2185 }
2186 if (jjte000 instanceof RuntimeException) {
2187 {
2188 if (true) {
2189 throw (RuntimeException) jjte000;
2190 }
2191 }
2192 }
2193 if (jjte000 instanceof ParseException) {

Callers 1

NonLiteralMethod · 0.95

Calls 7

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

Tested by

no test coverage detected