comment method
Implementation
CommentContext comment() {
dynamic _localctx = CommentContext(context, state);
enterRule(_localctx, 4, RULE_comment);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 131;
_la = tokenStream.LA(1)!;
if (!((((_la) & ~0x3f) == 0 && ((BigInt.one << _la) & ((BigInt.one << TOKEN_DOC_LINE_COMMENT) | (BigInt.one << TOKEN_LINE_COMMENT) | (BigInt.one << TOKEN_DOC_MULTI_COMMENT) | (BigInt.one << TOKEN_MULTI_COMMENT))) != BigInt.zero))) {
errorHandler.recoverInline(this);
} else {
if ( tokenStream.LA(1)! == IntStream.EOF ) matchedEOF = true;
errorHandler.reportMatch(this);
consume();
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}