def int_literal(self):
    localctx = decafJavierParser.Int_literalContext(self, self._ctx, self.state)
    self.enterRule(localctx, 30, self.RULE_int_literal)
    self._la = 0
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 258
        _la = self._input.LA(1)
        if (not ((_la == decafJavierParser.DECIMAL_LITERAL) or (_la == decafJavierParser.HEX_LITERAL))):
            self._errHandler.recoverInline(self)
        else:
            self._errHandler.reportMatch(self)
            self.consume()
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx
def int_literal(self):
    localctx = decafJavierParser.Int_literalContext(self, self._ctx, self.state)
    self.enterRule(localctx, 30, self.RULE_int_literal)
    self._la = 0
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 258
        _la = self._input.LA(1)
        if (not ((_la == decafJavierParser.DECIMAL_LITERAL) or (_la == decafJavierParser.HEX_LITERAL))):
            self._errHandler.recoverInline(self)
        else:
            self._errHandler.reportMatch(self)
            self.consume()
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx