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