class documentation
class ASTBuilder: (source)
Keeps tracks of the state of the AST build, creates documentable and adds objects to the system.
Method | __init__ |
Undocumented |
Method | add |
Add a new attribute to the system, attributes cannot be "entered". |
Method | parse |
Undocumented |
Method | parse |
Undocumented |
Method | pop |
Leave a documentable. |
Method | pop |
Leave a class. |
Method | pop |
Leave a function. |
Method | process |
Undocumented |
Method | push |
Enter a documentable. |
Method | push |
Create and a new class in the system. |
Method | push |
Create and enter a new function in the system. |
Instance Variable | ast |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | system |
Undocumented |
Method | _pop |
Undocumented |
Method | _push |
Create and enter a new object of the given type and add it to the system. |
Instance Variable | _stack |
Undocumented |
Add a new attribute to the system, attributes cannot be "entered".
Parameters | |
name:str | Undocumented |
kind:Optional[ | Undocumented |
parent:model.Documentable | Undocumented |
Returns | |
model.Attribute | Undocumented |
Undocumented
Parameters | |
path:Path | Undocumented |
ctx:model.Module | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
pystr | Undocumented |
ctx:model.Module | Undocumented |
Returns | |
Optional[ | Undocumented |
Create and a new class in the system.
Parameters | |
name:str | Undocumented |
lineno:int | Undocumented |
Returns | |
model.Class | Undocumented |
Create and enter a new function in the system.
Parameters | |
name:str | Undocumented |
lineno:int | Undocumented |
Returns | |
model.Function | Undocumented |
Create and enter a new object of the given type and add it to the system.
Parameters | |
cls:Type[ | Undocumented |
name:str | Undocumented |
lineno:int | Undocumented |
Returns | |
DocumentableT | Undocumented |