class documentation

class Symbol: (source)

View In Hierarchy

Undocumented

Static Method debug_print Undocumented
Method __copy__ Undocumented
Method __deepcopy__ Undocumented
Method __init__ Undocumented
Method __setattr__ Undocumented
Method add_declaration Undocumented
Method add_name Undocumented
Method clear_doc Undocumented
Method direct_lookup Undocumented
Method dump Undocumented
Method find_declaration Undocumented
Method find_identifier Undocumented
Method get_all_symbols Undocumented
Method get_full_nested_name Undocumented
Method get_lookup_key Undocumented
Method merge_with Undocumented
Method remove Undocumented
Method to_string Undocumented
Class Variable debug_indent Undocumented
Class Variable debug_indent_string Undocumented
Class Variable debug_lookup Undocumented
Class Variable debug_show_tree Undocumented
Instance Variable declaration Undocumented
Instance Variable docname Undocumented
Instance Variable ident Undocumented
Instance Variable isRedeclaration Undocumented
Instance Variable line Undocumented
Instance Variable parent Undocumented
Instance Variable siblingAbove Undocumented
Instance Variable siblingBelow Undocumented
Property children Undocumented
Property children_recurse_anon Undocumented
Method _add_function_params Undocumented
Method _add_symbols Undocumented
Method _assert_invariants Undocumented
Method _fill_empty Undocumented
Method _find_first_named_symbol Undocumented
Method _find_named_symbols Undocumented
Method _symbol_lookup Undocumented
Instance Variable _anonChildren Undocumented
Instance Variable _children Undocumented
@staticmethod
def debug_print(*args): (source)

Undocumented

Parameters
*args:AnyUndocumented
def __copy__(self): (source)

Undocumented

def __deepcopy__(self, memo): (source)

Undocumented

def __init__(self, parent, ident, declaration, docname, line): (source)

Undocumented

Parameters
parent:SymbolUndocumented
ident:ASTIdentifierUndocumented
declaration:ASTDeclaration|NoneUndocumented
docname:str|NoneUndocumented
line:int|NoneUndocumented
def __setattr__(self, key, value): (source)

Undocumented

Parameters
key:strUndocumented
value:AnyUndocumented
def add_declaration(self, declaration, docname, line): (source)

Undocumented

Parameters
declaration:ASTDeclarationUndocumented
docname:strUndocumented
line:intUndocumented
Returns
SymbolUndocumented
def add_name(self, nestedName): (source)

Undocumented

Parameters
nestedName:ASTNestedNameUndocumented
Returns
SymbolUndocumented
def clear_doc(self, docname): (source)

Undocumented

Parameters
docname:strUndocumented
def direct_lookup(self, key): (source)

Undocumented

Parameters
key:LookupKeyUndocumented
Returns
Symbol|NoneUndocumented
def dump(self, indent): (source)

Undocumented

Parameters
indent:intUndocumented
Returns
strUndocumented
def find_declaration(self, nestedName, typ, matchSelf, recurseInAnon): (source)

Undocumented

Parameters
nestedName:ASTNestedNameUndocumented
typ:strUndocumented
matchSelf:boolUndocumented
recurseInAnon:boolUndocumented
Returns
Symbol|NoneUndocumented
def find_identifier(self, ident, matchSelf, recurseInAnon, searchInSiblings): (source)

Undocumented

Parameters
ident:ASTIdentifierUndocumented
matchSelf:boolUndocumented
recurseInAnon:boolUndocumented
searchInSiblings:boolUndocumented
Returns
Symbol|NoneUndocumented
def get_all_symbols(self): (source)

Undocumented

Returns
Iterator[Symbol]Undocumented
def get_full_nested_name(self): (source)

Undocumented

Returns
ASTNestedNameUndocumented
def get_lookup_key(self): (source)

Undocumented

Returns
LookupKeyUndocumented
def merge_with(self, other, docnames, env): (source)

Undocumented

Parameters
other:SymbolUndocumented
docnames:list[str]Undocumented
env:BuildEnvironmentUndocumented
def remove(self): (source)

Undocumented

def to_string(self, indent): (source)

Undocumented

Parameters
indent:intUndocumented
Returns
strUndocumented
debug_indent: int = (source)

Undocumented

debug_indent_string: str = (source)

Undocumented

debug_lookup: bool = (source)

Undocumented

debug_show_tree: bool = (source)

Undocumented

declaration = (source)

Undocumented

Undocumented

Undocumented

isRedeclaration: bool = (source)

Undocumented

Undocumented

Undocumented

siblingAbove: Symbol = (source)

Undocumented

siblingBelow: Symbol = (source)

Undocumented

Undocumented

@property
children_recurse_anon: Iterator[Symbol] = (source)

Undocumented

def _add_function_params(self): (source)

Undocumented

def _add_symbols(self, nestedName, declaration, docname, line): (source)

Undocumented

Parameters
nestedName:ASTNestedNameUndocumented
declaration:ASTDeclaration|NoneUndocumented
docname:str|NoneUndocumented
line:int|NoneUndocumented
Returns
SymbolUndocumented
def _assert_invariants(self): (source)

Undocumented

def _fill_empty(self, declaration, docname, line): (source)

Undocumented

Parameters
declaration:ASTDeclarationUndocumented
docname:strUndocumented
line:intUndocumented
def _find_first_named_symbol(self, ident, matchSelf, recurseInAnon): (source)

Undocumented

Parameters
ident:ASTIdentifierUndocumented
matchSelf:boolUndocumented
recurseInAnon:boolUndocumented
Returns
Symbol|NoneUndocumented
def _find_named_symbols(self, ident, matchSelf, recurseInAnon, searchInSiblings): (source)

Undocumented

Parameters
ident:ASTIdentifierUndocumented
matchSelf:boolUndocumented
recurseInAnon:boolUndocumented
searchInSiblings:boolUndocumented
Returns
Iterator[Symbol]Undocumented
def _symbol_lookup(self, nestedName, onMissingQualifiedSymbol, ancestorLookupType, matchSelf, recurseInAnon, searchInSiblings): (source)

Undocumented

Parameters
nestedName:ASTNestedNameUndocumented
onMissingQualifiedSymbol:Callable[[Symbol, ASTIdentifier], Symbol|None]Undocumented
ancestorLookupType:str|NoneUndocumented
matchSelf:boolUndocumented
recurseInAnon:boolUndocumented
searchInSiblings:boolUndocumented
Returns
SymbolLookupResult|NoneUndocumented
_anonChildren: list[Symbol] = (source)

Undocumented

Undocumented