()
| 2058 | * Set and special handling is required to convert it to an empty Map when appropriate. |
| 2059 | */ |
| 2060 | final public void SetData() throws ParseException {/* @bgen(jjtree) SetData */ |
| 2061 | AstSetData jjtn000 = new AstSetData(JJTSETDATA); |
| 2062 | boolean jjtc000 = true; |
| 2063 | jjtree.openNodeScope(jjtn000); |
| 2064 | try { |
| 2065 | jj_consume_token(START_SET_OR_MAP); |
| 2066 | switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) { |
| 2067 | case START_SET_OR_MAP: |
| 2068 | case INTEGER_LITERAL: |
| 2069 | case FLOATING_POINT_LITERAL: |
| 2070 | case STRING_LITERAL: |
| 2071 | case TRUE: |
| 2072 | case FALSE: |
| 2073 | case NULL: |
| 2074 | case LPAREN: |
| 2075 | case LBRACK: |
| 2076 | case NOT0: |
| 2077 | case NOT1: |
| 2078 | case EMPTY: |
| 2079 | case MINUS: |
| 2080 | case IDENTIFIER: { |
| 2081 | Expression(); |
| 2082 | label_16: |
| 2083 | while (true) { |
| 2084 | switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) { |
| 2085 | case COMMA: { |
| 2086 | ; |
| 2087 | break; |
| 2088 | } |
| 2089 | default: |
| 2090 | jj_la1[46] = jj_gen; |
| 2091 | break label_16; |
| 2092 | } |
| 2093 | jj_consume_token(COMMA); |
| 2094 | Expression(); |
| 2095 | } |
| 2096 | break; |
| 2097 | } |
| 2098 | default: |
| 2099 | jj_la1[47] = jj_gen; |
| 2100 | ; |
| 2101 | } |
| 2102 | jj_consume_token(RBRACE); |
| 2103 | } catch (Throwable jjte000) { |
| 2104 | if (jjtc000) { |
| 2105 | jjtree.clearNodeScope(jjtn000); |
| 2106 | jjtc000 = false; |
| 2107 | } else { |
| 2108 | jjtree.popNode(); |
| 2109 | } |
| 2110 | if (jjte000 instanceof RuntimeException) { |
| 2111 | { |
| 2112 | if (true) { |
| 2113 | throw (RuntimeException) jjte000; |
| 2114 | } |
| 2115 | } |
| 2116 | } |
| 2117 | if (jjte000 instanceof ParseException) { |
no test coverage detected