public object VisitThisExpr(Expr.This expr) { if (currentClass == ClassType.None) { Basil.Error(expr.Keyword, "Cannot use 'this' outside of a class."); return(null); } ResolveLocal(expr, expr.Keyword); return(null); }
public object VisitThisExpr(Expr.This expr) { return(LookUpVariable(expr.Keyword, expr)); }
public string VisitThisExpr(Expr.This expr) { throw new System.NotImplementedException(); }