def visitExp8(self, ctx: MCParser.Exp8Context): if ctx.exp(): arr = self.visit(ctx.operand()) idx = self.visit(ctx.exp()) return ArrayCell(arr, idx) else: return self.visit(ctx.operand())
def visitExp8(self, ctx:MCParser.Exp8Context): return self.visit(ctx.operand())