18 using System.Collections.Generic;
22 using ErrorManagement;
62 get {
return this.leftExp; }
70 get {
return this.rightExp; }
78 get {
return this.moveStatement; }
79 set { this.moveStatement = value; }
94 : base(new
Location(fileName, line, 0))
96 this.leftExp = leftExpression;
97 this.rightExp = rightExpression;
98 this.moveStatement = null;
113 return v.Visit(
this, o);
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.
Abstract class represents a programming language statement.
override Object Accept(Visitor v, Object o)
Accept method of a concrete visitor.
SingleIdentifierExpression RightExp
Gets the right expression
Encapsulates a identifier expression of our programming language.
MoveStatement MoveStat
Gets or sets a move statement associated to the current move statement.
SingleIdentifierExpression LeftExp
Gets the left expression
MoveStatement(SingleIdentifierExpression leftExpression, SingleIdentifierExpression rightExpression, string fileName, int line)
Constructor of MoveStatement
Encapsulates a Move instruction to use in SSA algorithm