Beispiel #1
0
        public OILNode findSymbol(String ident)
        {
            OILNode node  = null;
            int     i     = symbolStack.Count - 1;
            bool    found = false;

            while (!found && (i >= 0))
            {
                SymTable symtbl = symbolStack[i--];
                node  = symtbl.findSym(ident);
                found = (node != null);
            }
            return(node);
        }