Пример #1
0
        public override bool Equals(object o)
        {
            if (o.GetType() != this.GetType())
            {
                return(false);
            }
            ValueExp rhs = (ValueExp)o;

            return(rhs.dt == this.dt && dt.SameValue(this.value, rhs.value));
        }
Пример #2
0
 public void OnValue(ValueExp exp)
 {
     writer.Write('"');
     writer.Write(exp.value);
     writer.Write('"');
 }
 public Expression OnValue( ValueExp exp )
 {
     if( token.Accepts(exp) )	return Expression.Empty;
     else						return Expression.NotAllowed;
 }
 public void OnValue( ValueExp exp )
 {
     writer.Write('"');
     writer.Write(exp.value);
     writer.Write('"');
 }