16 using System.Collections.Generic;
20 using ErrorManagement;
23 namespace Semantic.SSAAlgorithm
56 get {
return this.location; }
76 get {
return indexSSA; }
93 this.location = location;
99 #region UpdateIndexSSA
107 this.indexSSA = value;
121 aux.indexSSA = this.indexSSA;
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.
Location location
Location: Encapsulates in one object the line, column and filename
This class stores the information to use in SSA map and allows to create a new declarations.
SSAElement(string type, Location location)
Constructor of SSAElement.
void UpdateIndexSSA(int value)
Updates the value of index SSA
SSAElement Clone()
Clones the current SSA element.