18 using System.Collections.Generic;
22 using ErrorManagement;
57 get {
return this.expression; }
65 get {
return this.idName; }
83 this.expression = exp;
85 this.Identifier = name.Identifier +
"." + exp.Identifier;
100 return v.Visit(
this, o);
Encapsulates a name expression of our programming language.
Encapsulates the qualified name 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.
SingleIdentifierExpression IdName
Gets the first name to the expression.
Encapsulates a identifier expression of our programming language.
QualifiedIdentifierExpression(SingleIdentifierExpression name, IdentifierExpression exp, Location location)
Constructor of QualifiedIdentifierExpression
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
IdentifierExpression IdExpression
Gets the expression to compose the name.