ASTLhsVariableExpression.java
package edu.udel.cis.vsl.tass.front.minimp.ast.expression;
import edu.udel.cis.vsl.tass.front.minimp.ast.misc.ASTIdentifier;
import edu.udel.cis.vsl.tass.front.minimp.ast.type.ASTTypeIF;
public class ASTLhsVariableExpression extends ASTVariableExpression implements
ASTLhsExpressionIF {
private boolean isSpecVariable;
public ASTLhsVariableExpression(ASTIdentifier value, ASTTypeIF type) {
super(value, type);
if (type == null) {
this.isSpecVariable = true;
} else {
this.isSpecVariable = false;
}
}
public void setType(ASTTypeIF type) {
this.exprType = type;
}
public boolean isSpecVariable() {
return this.isSpecVariable;
}
}