PyDocs

Nav

Python Language Services

SymbolTable

  • SymbolTable(raw_table, filename)
A namespace table for a block. The constructor is not public.
Members of SymbolTable

g

get_children
Return a list of the nested symbol tables.
get_id
Return an identifier for the table.
get_identifiers
Return a view object containing the names of symbols in the table.
get_lineno
Return the number of the first line in the block for the table.
get_name
Return the table's name.
get_symbols
Return a list of *Symbol* instances for names in the table.
get_type
Return the type of the symbol table.

h

has_children
Return *True* if the block has nested namespaces.

i

is_nested
Return *True* if the block is a nested class or function.
is_optimized
Return *True* if the locals in the table are optimizable.

l

lookup
Lookup a *name* in the table.
0 Examples
No examples for symtable/SymbolTable.
See Also
No see-alsos for symtable/SymbolTable
0 Notes
No notes for SymbolTable