massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / lib2to3 / pgen2 / grammar.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/lib2to3/pgen2/grammar.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/lib2to3/pgen2/grammar.pyi
new file mode 100644 (file)
index 0000000..a8910da
--- /dev/null
@@ -0,0 +1,29 @@
+# Stubs for lib2to3.pgen2.grammar (Python 3.6)\r
+\r
+from lib2to3.pgen2 import _Path\r
+\r
+from typing import Any, Dict, List, Optional, Text, Tuple, TypeVar\r
+\r
+_P = TypeVar('_P')\r
+_Label = Tuple[int, Optional[Text]]\r
+_DFA = List[List[Tuple[int, int]]]\r
+_DFAS = Tuple[_DFA, Dict[int, int]]\r
+\r
+class Grammar:\r
+    symbol2number: Dict[Text, int]\r
+    number2symbol: Dict[int, Text]\r
+    states: List[_DFA]\r
+    dfas: Dict[int, _DFAS]\r
+    labels: List[_Label]\r
+    keywords: Dict[Text, int]\r
+    tokens: Dict[int, int]\r
+    symbol2label: Dict[Text, int]\r
+    start: int\r
+    def __init__(self) -> None: ...\r
+    def dump(self, filename: _Path) -> None: ...\r
+    def load(self, filename: _Path) -> None: ...\r
+    def copy(self: _P) -> _P: ...\r
+    def report(self) -> None: ...\r
+\r
+opmap_raw: Text\r
+opmap: Dict[Text, Text]\r