1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
use compactp_syntax::SyntaxKind; #[derive(Debug)] pub(crate) enum Event { StartNode { kind: SyntaxKind, forward_parent: Option<u32>, }, Token { kind: SyntaxKind, n_raw_tokens: u8, }, FinishNode, Error { message: String, }, /// Tombstone for abandoned markers — skipped by the sink. Placeholder, }