Skip to main content

PowerShellToken

Type Alias PowerShellToken 

Source
pub type PowerShellToken = Token<PowerShellTokenType>;
Expand description

A token for the PowerShell language.

Aliased Type§

pub struct PowerShellToken {
    pub kind: PowerShellTokenType,
    pub span: Range<usize>,
}

Fields§

§kind: PowerShellTokenType

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