2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
|
# File 'lib/modl/parser/MODLParser.rb', line 2148
def modl_value()
_localctx = Modl_valueContext.new(@_ctx, @_state_number)
enter_rule(_localctx, 42, RULE_modl_value)
begin
@_state_number = 312
@_err_handler.sync(self)
case ( @_interp.adaptive_predict(@_input,43,@_ctx) )
when 1
enter_outer_alt(_localctx, 1)
@_state_number = 307
modl_map()
when 2
enter_outer_alt(_localctx, 2)
@_state_number = 308
modl_array()
when 3
enter_outer_alt(_localctx, 3)
@_state_number = 309
modl_nb_array()
when 4
enter_outer_alt(_localctx, 4)
@_state_number = 310
modl_pair()
when 5
enter_outer_alt(_localctx, 5)
@_state_number = 311
modl_primitive()
end
rescue Antlr4::Runtime::RecognitionException => re
_localctx.exception = re
@_err_handler.report_error(self, re)
@_err_handler.recover(self, re)
ensure
exit_rule()
end
return _localctx
end
|