Trait ra_ap_syntax::ast::AstToken [−][src]
Like AstNode
, but wraps tokens rather than interior nodes.
Required methods
fn can_cast(token: SyntaxKind) -> bool where
Self: Sized,
[src]
Self: Sized,
fn cast(syntax: SyntaxToken) -> Option<Self> where
Self: Sized,
[src]
Self: Sized,