1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
///
/// Index of a DFA state within the slice of states of a LookaheadDFA
///
pub type StateIndex = usize;
///
/// Index of a production within the slice of productions of a generated parser
///
pub type ProductionIndex = usize;
///
/// Index of a production within the slice of productions of a generated parser
///
pub type CompiledProductionIndex = i32;
/// Invalid production number
/// It usually denotes the absence of a valid production number after applying a transition
pub const INVALID_PROD: CompiledProductionIndex = -1;
///
/// Index of a non-terminal within the slice of lookahead automatons of a
/// generated parser. Also used to index into the slice of non-terminal names
/// in the generated parser.
///
pub type NonTerminalIndex = usize;
///
/// The index of a scanner configuration
///
pub type ScannerIndex = usize;
///
/// Module with types used to handle the parse tree that is build during runs of
/// the generated parsers.
///
pub use ParseTreeType;
///
/// Module with types used to predict the next productions to choose during runs
/// of generated parsers.
///
pub use ;
///
/// Module with types used in the parse stack.
///
pub use ;
///
/// Module with the actual parser types and some supporting types.
///
pub use ;
///
/// Module with the UserActionsTrait type.
///
pub use UserActionsTrait;
///
/// Module with recovery algorithms
///
pub
// pub(crate) use recovery::Recovery;