class documentation
Visitor to render an Astroid node as a valid python code string
Static Method | visit |
Return an astroid.MatchSingleton node as string. |
Method | __call__ |
Makes this visitor behave as a simple function |
Method | __init__ |
Undocumented |
Method | handle |
return a (possibly async) function definition node as string |
Method | visit |
Return an astroid.AugAssign node as string |
Method | visit |
return an astroid.Function node as string |
Method | visit |
return an astroid.Assert node as string |
Method | visit |
return an astroid.Assign node as string |
Method | visit |
return an astroid.AssAttr node as string |
Method | visit |
return an astroid.AssName node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.AsyncFunction node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.Getattr node as string |
Method | visit |
return an astroid.AugAssign node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.BinOp node as string |
Method | visit |
return an astroid.BoolOp node as string |
Method | visit |
return an astroid.Break node as string |
Method | visit |
return an astroid.Call node as string |
Method | visit |
return an astroid.ClassDef node as string |
Method | visit |
return an astroid.Compare node as string |
Method | visit |
return an astroid.Comprehension node as string |
Method | visit |
return an astroid.Const node as string |
Method | visit |
return an astroid.Continue node as string |
Method | visit |
return an astroid.Decorators node as string |
Method | visit |
return an astroid.DelAttr node as string |
Method | visit |
return an astroid.Delete node as string |
Method | visit |
return an astroid.DelName node as string |
Method | visit |
return an astroid.Dict node as string |
Method | visit |
return an astroid.DictComp node as string |
Method | visit |
Undocumented |
Method | visit |
return an Empty node as string |
Method | visit |
dummy method for visiting an Empty node |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
return an astroid.Discard node as string |
Method | visit |
return an astroid.For node as string |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
return an astroid.FunctionDef node as string |
Method | visit |
return an astroid.GeneratorExp node as string |
Method | visit |
return an astroid.Global node as string |
Method | visit |
return an astroid.If node as string |
Method | visit |
return an astroid.IfExp node as string |
Method | visit |
return an astroid.Import node as string |
Method | visit |
return an astroid.ImportFrom node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.Keyword node as string |
Method | visit |
return an astroid.Lambda node as string |
Method | visit |
return an astroid.List node as string |
Method | visit |
return an astroid.ListComp node as string |
Method | visit |
Return an astroid.Match node as string. |
Method | visit |
Return an astroid.MatchAs node as string. |
Method | visit |
Return an astroid.MatchCase node as string. |
Method | visit |
Return an astroid.MatchClass node as string. |
Method | visit |
Return an astroid.MatchMapping node as string. |
Method | visit |
Return an astroid.MatchOr node as string. |
Method | visit |
Return an astroid.MatchSequence node as string. |
Method | visit |
Return an astroid.MatchStar node as string. |
Method | visit |
Return an astroid.MatchValue node as string. |
Method | visit |
return an astroid.Module node as string |
Method | visit |
return an astroid.Name node as string |
Method | visit |
Return an assignment expression node as string |
Method | visit |
return an astroid.Nonlocal node as string |
Method | visit |
return an astroid.Pass node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.Raise node as string |
Method | visit |
return an astroid.Return node as string |
Method | visit |
return an astroid.Set node as string |
Method | visit |
return an astroid.SetComp node as string |
Method | visit |
return an astroid.Slice node as string |
Method | visit |
return Starred node as string |
Method | visit |
return an astroid.Subscript node as string |
Method | visit |
Undocumented |
Method | visit |
return an astroid.TryExcept node as string |
Method | visit |
return an astroid.TryFinally node as string |
Method | visit |
return an astroid.Tuple node as string |
Method | visit |
return an astroid.UnaryOp node as string |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
return an astroid.While node as string |
Method | visit |
return an astroid.With node as string |
Method | visit |
yield an ast.Yield node as string |
Method | visit |
Return an astroid.YieldFrom node as string. |
Instance Variable | indent |
Undocumented |
Method | _docs |
Stop newlines in docs being indented by self._stmt_list |
Method | _precedence |
Wrap child in parens only if required to keep same semantics |
Method | _should |
Wrap child if: - it has lower precedence - same precedence with position opposite to associativity direction |
Method | _stmt |
return a list of nodes to string |
Method | _visit |
Undocumented |