conditionalOr method
Implementation
ConditionalOrContext conditionalOr() {
dynamic _localctx = ConditionalOrContext(context, state);
enterRule(_localctx, 4, RULE_conditionalOr);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 43;
_localctx.e = conditionalAnd();
state = 48;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_LOGICAL_OR) {
state = 44;
_localctx.s9 = match(TOKEN_LOGICAL_OR);
_localctx.ops.add(_localctx.s9);
state = 45;
_localctx._conditionalAnd = conditionalAnd();
_localctx.e1.add(_localctx._conditionalAnd);
state = 50;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}