Babel.Compiler.LocalVariableStack.GetLocal C# (CSharp) Method

GetLocal() public method

public GetLocal ( string name ) : LocalVariable
name string
return LocalVariable
        public virtual LocalVariable GetLocal(string name)
        {
            string lowerName = name.ToLower();

            foreach (Hashtable tbl in this) {
                LocalVariable local = (LocalVariable) tbl[lowerName];
                if (local != null) {
                    return local;
                }
            }
            return null;
        }