def field_var(self):
    localctx = decafJavierParser.Field_varContext(self, self._ctx, self.state)
    self.enterRule(localctx, 8, self.RULE_field_var)
    try:
        self.state = 99
        self._errHandler.sync(self)
        la_ = self._interp.adaptivePredict(self._input, 4, self._ctx)
        if (la_ == 1):
            self.enterOuterAlt(localctx, 1)
            self.state = 97
            self.var_id()
            pass
        elif (la_ == 2):
            self.enterOuterAlt(localctx, 2)
            self.state = 98
            self.array_id()
            pass
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx
def field_var(self):
    localctx = decafJavierParser.Field_varContext(self, self._ctx, self.state)
    self.enterRule(localctx, 8, self.RULE_field_var)
    try:
        self.state = 99
        self._errHandler.sync(self)
        la_ = self._interp.adaptivePredict(self._input, 4, self._ctx)
        if (la_ == 1):
            self.enterOuterAlt(localctx, 1)
            self.state = 97
            self.var_id()
            pass
        elif (la_ == 2):
            self.enterOuterAlt(localctx, 2)
            self.state = 98
            self.array_id()
            pass
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx