SyntaxToken

Type Alias SyntaxToken 

Source
pub type SyntaxToken = SyntaxToken<WorkflowDescriptionLanguage>;
Expand description

Represents a token in the concrete syntax tree.

Aliased Type§

pub struct SyntaxToken { /* private fields */ }

Trait Implementations§

Source§

impl SyntaxTokenExt for SyntaxToken

Source§

fn preceding_trivia(&self) -> impl Iterator<Item = SyntaxToken>

Gets all of the substantial preceding trivia for an element.
Source§

fn inline_comment(&self) -> Option<SyntaxToken>

Get any inline comment directly following an element on the same line.