public bool IsThisPointer(EXPR expr)
        {
            bool localThis = expr.isANYLOCAL() && expr.asANYLOCAL().local == m_outputContext.m_pThisPointer;
            bool baseThis  = false;

            return(localThis || baseThis);
        }
Beispiel #2
0
 public static EXPRLOCAL asANYLOCAL(this EXPR expr)
 {
     Debug.Assert(expr == null || expr.isANYLOCAL());
     return((EXPRLOCAL)expr);
 }
Beispiel #3
0
 public static bool isANYLOCAL_OK(this EXPR expr)
 {
     return(expr.isANYLOCAL() && expr.isOK());
 }
 public bool IsThisPointer(EXPR expr)
 {
     bool localThis = expr.isANYLOCAL() && expr.asANYLOCAL().local == m_outputContext.m_pThisPointer;
     bool baseThis = false;
     return localThis || baseThis;
 }