public bool Equals(Object obj) { if (obj == this) { return(true); } if (obj == null) { return(false); } if (!(obj is AssignVariableStatement)) { return(false); } AssignVariableStatement other = (AssignVariableStatement)obj; return(this.name.Equals(other.name) && this.getExpression().Equals(other.getExpression())); }
public WithResourceStatement(AssignVariableStatement resource, StatementList statements) { this.resource = resource; this.statements = statements; }