use syntax::SyntaxKind;

use crate::parser::ParseError;

#[derive(Debug, PartialEq)]
pub(super) enum Event {
    StartNode {
        kind: SyntaxKind,
        forward_parent: Option<usize>,
    },
    AddToken,
    FinishNode,
    Error(ParseError),
    Placeholder, // for Marker creation
}
