18 using System.Collections.Generic;
23 using ErrorManagement;
43 private string typeInfo;
59 get {
return this.typeInfo; }
66 get {
return this.newType; }
67 set { this.newType = value; }
83 : base(arguments, location)
100 return v.Visit(
this, o);
105 #region Dispatcher AstOperation
114 return op.Exec(
this, arg);
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.
override object AcceptOperation(AstOperation op, object arg)
Dispatches expressions to the operation passed as argument. It provokes the execution of op...
This class represent the entry wnen sending a message to an operation object. derived from AstNode ...
Abstract class that represents all different types.
NewExpression(string type, CompoundExpression arguments, Location location)
Constructor of NewExpression
Encapsulates a set of expressions.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
Location location
Location: Encapsulates in one object the line, column and filename
string TypeInfo
Gets the name of the new type
Encapsulates a invocation expression to base class.
Encapsulates a new expression.