4 from typing import Any, Union, Iterator
\r
9 def visit(self, node: AST) -> Any: ...
\r
10 def generic_visit(self, node: AST) -> None: ...
\r
12 class NodeTransformer(NodeVisitor):
\r
13 def generic_visit(self, node: AST) -> None: ...
\r
15 def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: str = ...) -> Module: ...
\r
16 def copy_location(new_node: AST, old_node: AST) -> AST: ...
\r
17 def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ...
\r
18 def fix_missing_locations(node: AST) -> AST: ...
\r
19 def get_docstring(node: AST, clean: bool = ...) -> str: ...
\r
20 def increment_lineno(node: AST, n: int = ...) -> AST: ...
\r
21 def iter_child_nodes(node: AST) -> Iterator[AST]: ...
\r
22 def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ...
\r
23 def literal_eval(node_or_string: Union[str, AST]) -> Any: ...
\r
24 def walk(node: AST) -> Iterator[AST]: ...
\r
26 PyCF_ONLY_AST = ... # type: int
\r