/// <summary> /// Constructor of SingleIdentifierExpression /// </summary> /// <param name="idenfifier">Name name.</param> /// <param name="fileName">File name.</param> /// <param name="lineNumber">Line number.</param> /// <param name="columnNumber">Column number.</param> public SingleIdentifierExpression(string idenfifier, Location location) : base(location) { this.Identifier = idenfifier; this.idMode = IdentifierMode.Instance; this.indexOfSSA = -1; this.ilReservedWords = new ILReservedWords(); }
/// <summary> /// Constructor of SynthesizedAttributes /// </summary> public SynthesizedAttributes(Expression exp) { this.identifier = exp; this.idMode = IdentifierMode.Instance; if (exp is SingleIdentifierExpression) { this.idMode = ((SingleIdentifierExpression)exp).IdMode; } this.createAuxiliarVar = true; }