class AsStringVisitor: (source)
Static Method | visit_matchsingleton |
Return an astroid.MatchSingleton node as string. |
Method | __call__ |
Makes this visitor behave as a simple function |
Method | __init__ |
Undocumented |
Method | handle_functiondef |
return a (possibly async) function definition node as string |
Method | visit_annassign |
Return an astroid.AugAssign node as string |
Method | visit_arguments |
return an astroid.Function node as string |
Method | visit_assert |
return an astroid.Assert node as string |
Method | visit_assign |
return an astroid.Assign node as string |
Method | visit_assignattr |
return an astroid.AssAttr node as string |
Method | visit_assignname |
return an astroid.AssName node as string |
Method | visit_asyncfor |
Undocumented |
Method | visit_asyncfunctiondef |
return an astroid.AsyncFunction node as string |
Method | visit_asyncwith |
Undocumented |
Method | visit_attribute |
return an astroid.Getattr node as string |
Method | visit_augassign |
return an astroid.AugAssign node as string |
Method | visit_await |
Undocumented |
Method | visit_binop |
return an astroid.BinOp node as string |
Method | visit_boolop |
return an astroid.BoolOp node as string |
Method | visit_break |
return an astroid.Break node as string |
Method | visit_call |
return an astroid.Call node as string |
Method | visit_classdef |
return an astroid.ClassDef node as string |
Method | visit_compare |
return an astroid.Compare node as string |
Method | visit_comprehension |
return an astroid.Comprehension node as string |
Method | visit_const |
return an astroid.Const node as string |
Method | visit_continue |
return an astroid.Continue node as string |
Method | visit_decorators |
return an astroid.Decorators node as string |
Method | visit_delattr |
return an astroid.DelAttr node as string |
Method | visit_delete |
return an astroid.Delete node as string |
Method | visit_delname |
return an astroid.DelName node as string |
Method | visit_dict |
return an astroid.Dict node as string |
Method | visit_dictcomp |
return an astroid.DictComp node as string |
Method | visit_dictunpack |
Undocumented |
Method | visit_empty |
return an Empty node as string |
Method | visit_emptynode |
dummy method for visiting an Empty node |
Method | visit_evaluatedobject |
Undocumented |
Method | visit_excepthandler |
Undocumented |
Method | visit_expr |
return an astroid.Discard node as string |
Method | visit_for |
return an astroid.For node as string |
Method | visit_formattedvalue |
Undocumented |
Method | visit_frozenset |
Undocumented |
Method | visit_functiondef |
return an astroid.FunctionDef node as string |
Method | visit_generatorexp |
return an astroid.GeneratorExp node as string |
Method | visit_global |
return an astroid.Global node as string |
Method | visit_if |
return an astroid.If node as string |
Method | visit_ifexp |
return an astroid.IfExp node as string |
Method | visit_import |
return an astroid.Import node as string |
Method | visit_importfrom |
return an astroid.ImportFrom node as string |
Method | visit_joinedstr |
Undocumented |
Method | visit_keyword |
return an astroid.Keyword node as string |
Method | visit_lambda |
return an astroid.Lambda node as string |
Method | visit_list |
return an astroid.List node as string |
Method | visit_listcomp |
return an astroid.ListComp node as string |
Method | visit_match |
Return an astroid.Match node as string. |
Method | visit_matchas |
Return an astroid.MatchAs node as string. |
Method | visit_matchcase |
Return an astroid.MatchCase node as string. |
Method | visit_matchclass |
Return an astroid.MatchClass node as string. |
Method | visit_matchmapping |
Return an astroid.MatchMapping node as string. |
Method | visit_matchor |
Return an astroid.MatchOr node as string. |
Method | visit_matchsequence |
Return an astroid.MatchSequence node as string. |
Method | visit_matchstar |
Return an astroid.MatchStar node as string. |
Method | visit_matchvalue |
Return an astroid.MatchValue node as string. |
Method | visit_module |
return an astroid.Module node as string |
Method | visit_name |
return an astroid.Name node as string |
Method | visit_namedexpr |
Return an assignment expression node as string |
Method | visit_nonlocal |
return an astroid.Nonlocal node as string |
Method | visit_pass |
return an astroid.Pass node as string |
Method | visit_property |
Undocumented |
Method | visit_raise |
return an astroid.Raise node as string |
Method | visit_return |
return an astroid.Return node as string |
Method | visit_set |
return an astroid.Set node as string |
Method | visit_setcomp |
return an astroid.SetComp node as string |
Method | visit_slice |
return an astroid.Slice node as string |
Method | visit_starred |
return Starred node as string |
Method | visit_subscript |
return an astroid.Subscript node as string |
Method | visit_super |
Undocumented |
Method | visit_tryexcept |
return an astroid.TryExcept node as string |
Method | visit_tryfinally |
return an astroid.TryFinally node as string |
Method | visit_tuple |
return an astroid.Tuple node as string |
Method | visit_unaryop |
return an astroid.UnaryOp node as string |
Method | visit_uninferable |
Undocumented |
Method | visit_unknown |
Undocumented |
Method | visit_while |
return an astroid.While node as string |
Method | visit_with |
return an astroid.With node as string |
Method | visit_yield |
yield an ast.Yield node as string |
Method | visit_yieldfrom |
Return an astroid.YieldFrom node as string. |
Instance Variable | indent |
Undocumented |
Method | _docs_dedent |
Stop newlines in docs being indented by self._stmt_list |
Method | _precedence_parens |
Wrap child in parens only if required to keep same semantics |
Method | _should_wrap |
Wrap child if: - it has lower precedence - same precedence with position opposite to associativity direction |
Method | _stmt_list |
return a list of nodes to string |
Method | _visit_dict |
Undocumented |
Parameters | |
node:MatchSingleton | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchCase | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchClass | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchMapping | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchSequence | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchStar | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
node:MatchValue | Undocumented |
Returns | |
str | Undocumented |