class documentation
Fill in ClassType pointers using symbol tables. This is an in-place visitor! It modifies the original tree. This is necessary because we introduce loops.
Method | __init__ |
Create this visitor. |
Method |
|
Fills in a class type. |
Method | _ |
Look up a node by name. |
Instance Variable | _lookup |
Undocumented |
Inherited from Visitor
:
Method |
|
Undocumented |
Method |
|
Undocumented |
Method |
|
Undocumented |
Class Variable | old |
Undocumented |
Class Variable | unchecked |
Undocumented |
Class Variable | visits |
Undocumented |
Instance Variable | enter |
Undocumented |
Instance Variable | leave |
Undocumented |
Instance Variable | visit |
Undocumented |
Instance Variable | visit |
Undocumented |
Class Variable | _visitor |
Undocumented |
Create this visitor. You're expected to then pass this instance to node.Visit(). Args: lookup_map: A map from names to symbol tables (i.e., objects that have a "Lookup" function). fallback: A symbol table to be tried if lookup otherwise fails.