[−][src]Trait rslint_parser::TreeSink
An abstraction for syntax tree implementations
Required methods
fn token(&mut self, kind: SyntaxKind)
Adds new token to the current branch.
fn start_node(&mut self, kind: SyntaxKind)
Start new branch and make it current.
fn finish_node(&mut self)
Finish current branch and restore previous branch as current.
fn error(&mut self, error: ParserError)
Emit an error