示例#1
0
 public bool ExistsVarInCurrentScope(string name)
 {
     if (name == "this")
     {
         return(true);
     }
     return(_scopes.Last().Vars.ContainsKey(name) || typeGen.HasField(name) || currentFuncArgs.Contains(name));
 }