19 using ErrorManagement;
39 private string typeInfo;
59 private string identifier;
70 get {
return this.typeInfo; }
78 get {
return this.init; }
82 if (this.size == null)
92 get {
return this.rank; }
93 set { this.rank = value; }
101 get {
return this.size; }
102 set { this.size = value; }
110 get {
return this.identifier; }
111 set { this.identifier = value; }
129 this.typeInfo = arrayType;
144 return v.Visit(
this, o);
149 #region Dispatcher AstOperation
158 return op.Exec(
this, arg);
string Identifier
Gets or sets the auxiliar variable identifier used to store the new array in code generation...
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Abstract class encapsulate a programming language expression.
override object AcceptOperation(AstOperation op, object arg)
Dispatches expressions to the operation passed as argument. It provokes the execution of op...
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.
This class represent the entry wnen sending a message to an operation object. derived from AstNode ...
string TypeInfo
Gets the name of the new type
int ExpressionCount
Gets the number of expressions.
Encapsulates a set of expressions.
CompoundExpression Init
Gets or sets the array initialization
Encapsulates a new array expression.
Location location
Location: Encapsulates in one object the line, column and filename
Expression Size
Gets or sets the array size
Encapsulates a integer literal expression.
NewArrayExpression(string arrayType, Location location)
Constructor of NewArrayExpression
int Rank
Gets or sets the array rank