Skip to main content

XmlToken

Type Alias XmlToken 

Source
pub type XmlToken = Token<XmlTokenType>;
Expand description

A token in the XML language.

Aliased Type§

pub struct XmlToken {
    pub kind: XmlTokenType,
    pub span: Range<usize>,
}

Fields§

§kind: XmlTokenType

The kind/category of this kind (e.g., keyword, identifier, number)

§span: Range<usize>

The byte range in the source text that this kind occupies