kiki/data/token.rs
1pub use crate::data::*;
2
3pub use crate::pipeline::parser::Token;
4
5#[derive(Clone, Debug, PartialEq, Eq, Hash)]
6pub struct Ident {
7 pub name: String,
8 pub position: ByteIndex,
9}
10
11#[derive(Clone, Debug, PartialEq, Eq, Hash)]
12pub struct TerminalIdent {
13 pub name: DollarlessTerminalName,
14 pub dollarless_position: ByteIndex,
15}
16
17#[derive(Clone, Debug, PartialEq, Eq, Hash)]
18pub struct Attribute {
19 pub src: String,
20 pub position: ByteIndex,
21}