18 using System.Collections.Generic;
24 using ErrorManagement;
59 get {
return this.identifier.Identifier; }
67 get {
return this.IdentifierExp.ILName; }
75 get {
return this.identifier; }
82 get {
return symbol; }
83 set { symbol = value; }
99 : base(type, location)
101 this.identifier = id;
102 this.identifier.IndexOfSSA = 0;
115 : base(type, location)
117 this.identifier = id;
118 this.identifier.IndexOfSSA = indexSSA;
133 return v.Visit(
this, o);
138 #region Dispatcher AstOperation
147 return op.Exec(
this, arg);
string ILName
Gets the IL name associated to the declaration identifier.
IdDeclaration(SingleIdentifierExpression id, string type, Location location)
Constructor of IdDeclaration
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 ...
This class represents a symbol associated with its identifier.
Encapsulates a identifier expression of our programming language.
SingleIdentifierExpression IdentifierExp
Gets the identifier expression
Encapsulates a declaration of a concrete type.
Encapsulates a declaration.
Location location
Location: Encapsulates in one object the line, column and filename
IdDeclaration(SingleIdentifierExpression id, int indexSSA, string type, Location location)
Constructor of IdDeclaration
string Identifier
Gets the name associated to the declaration
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.