1 from _typeshed import StrPath
2 from typing import Dict, List, Optional, Tuple, TypeVar
5 _Label = Tuple[int, Optional[str]]
6 _DFA = List[List[Tuple[int, int]]]
7 _DFAS = Tuple[_DFA, Dict[int, int]]
10 symbol2number: dict[str, int]
11 number2symbol: dict[int, str]
13 dfas: dict[int, _DFAS]
15 keywords: dict[str, int]
16 tokens: dict[int, int]
17 symbol2label: dict[str, int]
19 def __init__(self) -> None: ...
20 def dump(self, filename: StrPath) -> None: ...
21 def load(self, filename: StrPath) -> None: ...
22 def copy(self: _P) -> _P: ...
23 def report(self) -> None: ...