Beispiel #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);
     }
 }
Beispiel #2
0
 public static object DefaultEval(ThisRef thisRef)
 {
     return thisRef.Instance;
 }
Beispiel #3
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = true;
     ConstValue = thisRef.Instance;
 }
Beispiel #4
0
 public void VisitThisRef(ThisRef thisRef)
 {
     OnVisitThisRef(thisRef);
 }
Beispiel #5
0
 public static object DefaultEval(ThisRef thisRef)
 {
     return(thisRef.Instance);
 }
Beispiel #6
0
 public void VisitThisRef(ThisRef thisRef)
 {
     OnVisitThisRef(thisRef);
 }
Beispiel #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;
 }
Beispiel #11
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = "<this>";
 }
Beispiel #12
0
 public void VisitThisRef(ThisRef thisRef)
 {
     Result = "this";
 }