def array_id(self):
    localctx = decafJavierParser.Array_idContext(self, self._ctx, self.state)
    self.enterRule(localctx, 6, self.RULE_array_id)
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 92
        self.match(decafJavierParser.ID)
        self.state = 93
        self.match(decafJavierParser.LSQUARE)
        self.state = 94
        self.int_literal()
        self.state = 95
        self.match(decafJavierParser.RSQUARE)
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx
def array_id(self):
    localctx = decafJavierParser.Array_idContext(self, self._ctx, self.state)
    self.enterRule(localctx, 6, self.RULE_array_id)
    try:
        self.enterOuterAlt(localctx, 1)
        self.state = 92
        self.match(decafJavierParser.ID)
        self.state = 93
        self.match(decafJavierParser.LSQUARE)
        self.state = 94
        self.int_literal()
        self.state = 95
        self.match(decafJavierParser.RSQUARE)
    except RecognitionException as re:
        localctx.exception = re
        self._errHandler.reportError(self, re)
        self._errHandler.recover(self, re)
    finally:
        self.exitRule()
    return localctx