Type Definition SyntaxToken
rslint_parser
type SyntaxToken = SyntaxToken<JsLanguage>;
impl SyntaxTokenExt for SyntaxToken
fn to_token(&self) -> &SyntaxToken
fn comment(&self) -> Option<Comment>
Convert a comment to a more detailed representation.
fn in_ts(&self, set: TokenSet) -> bool
Check whether this token's kind is contained in a token set.