17 namespace CodeGeneration
41 private bool createAuxiliarVar;
52 get {
return this.identifier; }
53 set { this.identifier = value; }
61 get {
return this.idMode; }
62 set { this.idMode = value; }
70 get {
return this.createAuxiliarVar; }
71 set { this.createAuxiliarVar = value; }
83 this.identifier = exp;
84 this.idMode = IdentifierMode.Instance;
86 this.idMode = ((SingleIdentifierExpression)exp).IdMode;
87 this.createAuxiliarVar =
true;
Abstract class encapsulate a programming language expression.
bool CreateAuxiliarVar
Gets or sets true if it is necessary to create an auxiliar variable. Otherwise, false.
Encapsulates a identifier expression of our programming language.
IdentifierMode
Represents how to use the identifier
IdentifierMode IdentifierExpressionMode
Gets or sets the identifier mode (Instance, UserType, Namespace)
Expression Identifier
Gets or sets the current expression to use in store instruction in assignment node.
This class encapsulates several inherited attributes used in code generation process.
SynthesizedAttributes(Expression exp)
Constructor of SynthesizedAttributes