Esempio n. 1
0
 public override bool Equals(object obj)
 {
     if (obj is ThisRef)
     {
         ThisRef tref = (ThisRef)obj;
         return(ClassContext.Equals(tref.ClassContext) &&
                Instance == tref.Instance);
     }
     else
     {
         return(false);
     }
 }
Esempio n. 2
0
 public static object DefaultEval(ThisRef thisRef)
 {
     return thisRef.Instance;
 }
Esempio n. 3
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = true;
     ConstValue = thisRef.Instance;
 }
Esempio n. 4
0
 public void VisitThisRef(ThisRef thisRef)
 {
     OnVisitThisRef(thisRef);
 }
Esempio n. 5
0
 public static object DefaultEval(ThisRef thisRef)
 {
     return(thisRef.Instance);
 }
Esempio n. 6
0
 public void VisitThisRef(ThisRef thisRef)
 {
     OnVisitThisRef(thisRef);
 }
Esempio n. 7
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result     = true;
     ConstValue = thisRef.Instance;
 }
 public object DefaultEvalThisRef(ThisRef thisRef)
 {
     return ThisRef.DefaultEval(thisRef);
 }
 public object EvalThisRef(ThisRef thisRef)
 {
     return DoEvalThisRef(thisRef);
 }
 public void VisitThisRef(ThisRef thisRef)
 {
     _result = thisRef;
 }
Esempio n. 11
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = "<this>";
 }
Esempio n. 12
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = "this";
 }