1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
|
# File 'lib/modl/parser/MODLParser.rb', line 1383
def modl_array_conditional_return()
_localctx = Modl_array_conditional_returnContext.new(@_ctx, @_state_number)
enter_rule(_localctx, 26, RULE_modl_array_conditional_return)
_la = 0
begin
enter_outer_alt(_localctx, 1)
@_state_number = 213
@_err_handler.sync(self)
_la = @_input.la(1)
loop do
@_state_number = 212
modl_array_item()
@_state_number = 215
@_err_handler.sync(self)
_la = @_input.la(1)
break if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0)))
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
|