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

Method MapData

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

Source from the content-addressed store, hash-verified

2214 * Set and special handling is required to convert it to an empty Map when appropriate.
2215 */
2216 final public void MapData() throws ParseException {/* @bgen(jjtree) MapData */
2217 AstMapData jjtn000 = new AstMapData(JJTMAPDATA);
2218 boolean jjtc000 = true;
2219 jjtree.openNodeScope(jjtn000);
2220 try {
2221 jj_consume_token(START_SET_OR_MAP);
2222 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2223 case START_SET_OR_MAP:
2224 case INTEGER_LITERAL:
2225 case FLOATING_POINT_LITERAL:
2226 case STRING_LITERAL:
2227 case TRUE:
2228 case FALSE:
2229 case NULL:
2230 case LPAREN:
2231 case LBRACK:
2232 case NOT0:
2233 case NOT1:
2234 case EMPTY:
2235 case MINUS:
2236 case IDENTIFIER: {
2237 MapEntry();
2238 label_18:
2239 while (true) {
2240 switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
2241 case COMMA: {
2242 ;
2243 break;
2244 }
2245 default:
2246 jj_la1[50] = jj_gen;
2247 break label_18;
2248 }
2249 jj_consume_token(COMMA);
2250 MapEntry();
2251 }
2252 break;
2253 }
2254 default:
2255 jj_la1[51] = jj_gen;
2256 ;
2257 }
2258 jj_consume_token(RBRACE);
2259 } catch (Throwable jjte000) {
2260 if (jjtc000) {
2261 jjtree.clearNodeScope(jjtn000);
2262 jjtc000 = false;
2263 } else {
2264 jjtree.popNode();
2265 }
2266 if (jjte000 instanceof RuntimeException) {
2267 {
2268 if (true) {
2269 throw (RuntimeException) jjte000;
2270 }
2271 }
2272 }
2273 if (jjte000 instanceof ParseException) {

Callers 1

NonLiteralMethod · 0.95

Calls 7

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

Tested by

no test coverage detected