mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Make a few lexer structs pub to fix E0446
This commit is contained in:
parent
6d17ccc9e4
commit
1c82d88a6b
@ -31,7 +31,7 @@ pub struct Other;
|
||||
/// edges by enumerating subsequent edges in the vectors until you
|
||||
/// find one with a different `from` value.
|
||||
#[derive(Debug)]
|
||||
struct State {
|
||||
pub struct State {
|
||||
kind: StateKind,
|
||||
first_noop_edge: usize,
|
||||
first_test_edge: usize,
|
||||
@ -52,7 +52,7 @@ pub struct NFAStateIndex(usize);
|
||||
/// now we just ensure this during construction, but one could easily
|
||||
/// sort).
|
||||
#[derive(Debug)]
|
||||
struct Edges {
|
||||
pub struct Edges {
|
||||
noop_edges: Vec<Edge<Noop>>,
|
||||
|
||||
// edges where we are testing the character in some way; for any
|
||||
|
@ -40,7 +40,7 @@ struct Items<'grammar> {
|
||||
struct StateIndex(usize);
|
||||
|
||||
#[derive(Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)]
|
||||
enum Lookahead {
|
||||
pub enum Lookahead {
|
||||
EOF,
|
||||
Terminal(TerminalString),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user