18 using System.Collections.Generic;
22 using ErrorManagement;
83 : base(id, index, location)
85 this.op = ArrayOperator.Indexer;
100 return v.Visit(
this, o);
Encapsulates a binary expression of our programming language.
Abstract class encapsulate a programming language expression.
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
ArrayOperator
Array operators
ArrayAccessExpression(Expression id, Expression index, Location location)
Constructor of ArrayAccessExpression
Location location
Location: Encapsulates in one object the line, column and filename
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Encapsulates the array expression to access the concrete position.
ArrayOperator Operator
Gets the operator of the array expression