class documentation

class ASTBuilder:

Known subclasses: pydoctor.zopeinterface.ZopeInterfaceASTBuilder

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method add​Attribute Undocumented
Method parse​File Undocumented
Method pop Undocumented
Method pop​Class Undocumented
Method pop​Function Undocumented
Method process​Module​AST Undocumented
Method push Undocumented
Method push​Class Undocumented
Method push​Function Undocumented
Method warning Undocumented
Instance Variable ast​_cache Undocumented
Instance Variable current Undocumented
Instance Variable current​Mod Undocumented
Instance Variable system Undocumented
Method ​_pop Undocumented
Method ​_push Undocumented
Instance Variable ​_stack Undocumented
def __init__(self, system):

Undocumented

Parameters
system:model.SystemUndocumented
def addAttribute(self, name, kind, parent):

Undocumented

Parameters
name:strUndocumented
kind:Optional[model.DocumentableKind]Undocumented
parent:model.DocumentableUndocumented
Returns
model.AttributeUndocumented
def parseFile(self, path):

Undocumented

Parameters
path:PathUndocumented
Returns
Optional[ast.Module]Undocumented
def pop(self, obj):

Undocumented

Parameters
obj:model.DocumentableUndocumented
def popClass(self):

Undocumented

def popFunction(self):

Undocumented

def processModuleAST(self, mod_ast, mod):

Undocumented

Parameters
mod​_ast:ast.ModuleUndocumented
mod:model.ModuleUndocumented
def push(self, obj, lineno):

Undocumented

Parameters
obj:model.DocumentableUndocumented
lineno:intUndocumented
def pushClass(self, name, lineno):

Undocumented

Parameters
name:strUndocumented
lineno:intUndocumented
Returns
model.ClassUndocumented
def pushFunction(self, name, lineno):

Undocumented

Parameters
name:strUndocumented
lineno:intUndocumented
Returns
model.FunctionUndocumented
def warning(self, message, detail):

Undocumented

Parameters
message:strUndocumented
detail:strUndocumented
ast_cache: Dict[Path, Optional[ast.Module]] =

Undocumented

current =

Undocumented

currentMod =

Undocumented

system =

Undocumented

def _pop(self, cls):

Undocumented

Parameters
cls:Type[model.Documentable]Undocumented
def _push(self, cls, name, lineno):

Undocumented

Parameters
cls:Type[DocumentableT]Undocumented
name:strUndocumented
lineno:intUndocumented
Returns
DocumentableTUndocumented
_stack: List[model.Documentable] =

Undocumented