public Declarator lookup(String name) {
        Declarator found = (Declarator)get(name);
        if (found == null && parent != null)
            return parent.lookup(name);
        else
            return found;
    }