Pass enclosing function to SymbolTable constructor