module documentation

This module contains utilities for rebuilding an _ast tree in order to get a single Astroid representation.

Class TreeRebuilder Rebuilds the _ast tree to become an Astroid tree.
Constant REDIRECT Undocumented
Type Variable T_Doc Undocumented
Type Alias NodesWithDocsType Undocumented
Type Variable _ForT Undocumented
Type Variable _FunctionT Undocumented
Type Variable _WithT Undocumented
REDIRECT: dict[str, str] = (source)

Undocumented

Value
{'arguments': 'Arguments',
 'comprehension': 'Comprehension',
 'ListCompFor': 'Comprehension',
 'GenExprFor': 'Comprehension',
 'excepthandler': 'ExceptHandler',
 'keyword': 'Keyword',
 'match_case': 'MatchCase'}

Undocumented

Value
TypeVar('T_Doc',
        'ast.Module',
        'ast.ClassDef',
        Union['ast.FunctionDef', 'ast.AsyncFunctionDef'])

Undocumented

Value
TypeVar('_ForT', nodes.For, nodes.AsyncFor)
_FunctionT = (source)

Undocumented

Value
TypeVar('_FunctionT', nodes.FunctionDef, nodes.AsyncFunctionDef)

Undocumented

Value
TypeVar('_WithT', nodes.With, nodes.AsyncWith)