示例#1
0
        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()));
        }
示例#2
0
 public WithResourceStatement(AssignVariableStatement resource, StatementList statements)
 {
     this.resource   = resource;
     this.statements = statements;
 }