Bike.Interpreter.Builtin.BikeObject.FindScopeFor C# (CSharp) 메소드

FindScopeFor() 개인적인 메소드

private FindScopeFor ( string name ) : BikeObject
name string
리턴 BikeObject
        internal BikeObject FindScopeFor(string name)
        {
            var scope = this;
            while (scope != null && !scope.Members.ContainsKey(name))
                scope = scope.Prototype;
            return scope;
        }