18 using System.Collections.Generic;
22 using ErrorManagement;
46 private string fullName =
"";
64 get {
return this.type; }
65 set { this.type = value; }
73 get {
return this.fullName; }
74 set { this.fullName = value; }
85 return this.frozenTypeExpression;
105 this.fullName = type;
109 #region Dispatcher AstOperation
118 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.
Abstract class represents a programming language statement.
TypeExpression frozenTypeExpression
WriteType variable may change its type's substitution (e.g., field type variables) This attribute sav...
Declaration(string type, Location location)
Constructor of Declaration
This class represent the entry wnen sending a message to an operation object. derived from AstNode ...
Abstract class that represents all different types.
override object AcceptOperation(AstOperation op, object arg)
Dispatches expressions to the operation passed as argument. It provokes the execution of op...
Encapsulates a declaration of a concrete type.
Location location
Location: Encapsulates in one object the line, column and filename
string FullName
Gets or sets the nominal type of the declaration
TypeExpression TypeExpr
Gets or sets the type of the declaration
virtual TypeExpression ILTypeExpression
Gets the type expression to use in code generation.