--- /dev/null
+# 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