1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
|
# File 'lib/modl/parser/MODLParser.rb', line 1147
def modl_map_conditional_return()
_localctx = Modl_map_conditional_returnContext.new(@_ctx, @_state_number)
enter_rule(_localctx, 20, RULE_modl_map_conditional_return)
_la = 0
begin
enter_outer_alt(_localctx, 1)
@_state_number = 187
@_err_handler.sync(self)
_la = @_input.la(1)
loop do
@_state_number = 186
modl_map_item()
@_state_number = 189
@_err_handler.sync(self)
_la = @_input.la(1)
break if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & ((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
|