2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
|
# File 'lib/modl/parser/MODLParser.rb', line 2059
def modl_condition_group()
_localctx = Modl_condition_groupContext.new(@_ctx, @_state_number)
enter_rule(_localctx, 40, RULE_modl_condition_group)
_la = 0
begin
enter_outer_alt(_localctx, 1)
@_state_number = 296
match(LCBRAC)
@_state_number = 297
modl_condition_test()
@_state_number = 302
@_err_handler.sync(self)
_la = @_input.la(1)
while (_la==AMP || _la==PIPE)
@_state_number = 298
_la = @_input.la(1)
if ( !(_la==AMP || _la==PIPE) )
@_err_handler.recover_in_line(self)
else
if ( @_input.la(1)==Antlr4::Runtime::Token::EOF )
@matchedEOF = true
end
@_err_handler.report_match(self)
consume()
end
@_state_number = 299
modl_condition_test()
@_state_number = 304
@_err_handler.sync(self)
_la = @_input.la(1)
end
@_state_number = 305
match(RCBRAC)
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
|