massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / ast.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/ast.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/ast.pyi
new file mode 100644 (file)
index 0000000..3a8c3be
--- /dev/null
@@ -0,0 +1,26 @@
+# Python 3.5 ast\r
+\r
+import typing\r
+from typing import Any, Union, Iterator\r
+\r
+from _ast import *\r
+\r
+class NodeVisitor():\r
+    def visit(self, node: AST) -> Any: ...\r
+    def generic_visit(self, node: AST) -> None: ...\r
+\r
+class NodeTransformer(NodeVisitor):\r
+    def generic_visit(self, node: AST) -> None: ...\r
+\r
+def parse(source: Union[str, bytes], filename: Union[str, bytes] = ..., mode: str = ...) -> Module: ...\r
+def copy_location(new_node: AST, old_node: AST) -> AST: ...\r
+def dump(node: AST, annotate_fields: bool = ..., include_attributes: bool = ...) -> str: ...\r
+def fix_missing_locations(node: AST) -> AST: ...\r
+def get_docstring(node: AST, clean: bool = ...) -> str: ...\r
+def increment_lineno(node: AST, n: int = ...) -> AST: ...\r
+def iter_child_nodes(node: AST) -> Iterator[AST]: ...\r
+def iter_fields(node: AST) -> Iterator[typing.Tuple[str, Any]]: ...\r
+def literal_eval(node_or_string: Union[str, AST]) -> Any: ...\r
+def walk(node: AST) -> Iterator[AST]: ...\r
+\r
+PyCF_ONLY_AST = ...  # type: int\r