Skip to main content

PhpToken

Type Alias PhpToken 

Source
pub type PhpToken = Token<PhpTokenType>;
Expand description

Token type for PHP

Aliased Type§

pub struct PhpToken {
    pub kind: PhpTokenType,
    pub span: Range<usize>,
}

Fields§

§kind: PhpTokenType

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