def return_type(self):
    localctx = decafJavierParser.Return_typeContext(self, self._ctx, self.state)
    self.enterRule(localctx, 14, self.RULE_return_type)
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 125
        self._errHandler.sync(self)
        token = self._input.LA(1)
        if (token in [decafJavierParser.BOOLEAN, decafJavierParser.INT]):
            self.state = 123
            self.var_type()
            pass
        elif (token in [decafJavierParser.VOID]):
            self.state = 124
            self.match(decafJavierParser.VOID)
            pass
        else:
            raise NoViableAltException(self)
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx
def return_type(self):
    localctx = decafJavierParser.Return_typeContext(self, self._ctx, self.state)
    self.enterRule(localctx, 14, self.RULE_return_type)
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 125
        self._errHandler.sync(self)
        token = self._input.LA(1)
        if (token in [decafJavierParser.BOOLEAN, decafJavierParser.INT]):
            self.state = 123
            self.var_type()
            pass
        elif (token in [decafJavierParser.VOID]):
            self.state = 124
            self.match(decafJavierParser.VOID)
            pass
        else:
            raise NoViableAltException(self)
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx