[][src]Struct rslint_parser::SyntaxTreeBuilder

pub struct SyntaxTreeBuilder { /* fields omitted */ }

Simple wrapper around a rslint_rowan GreenNodeBuilder

Implementations

impl SyntaxTreeBuilder[src]

pub fn finish(self) -> Parse<SyntaxNode>[src]

pub fn token(&mut self, kind: SyntaxKind, text: SmolStr)[src]

pub fn start_node(&mut self, kind: SyntaxKind)[src]

pub fn finish_node(&mut self)[src]

pub fn error(&mut self, error: Diagnostic<usize>)[src]

Trait Implementations

impl Debug for SyntaxTreeBuilder[src]

impl Default for SyntaxTreeBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erasable for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.