Struct kailua_syntax::Parser [] [src]

pub struct Parser<'a> { /* fields omitted */ }

The parser.

Methods

impl<'a> Parser<'a>
[src]

Creates a new nesting analyzer with given stream of spanned tokens with nesting informations and the report receiver.

Parses the entire file and returns a chunk (while generating reports).

Most parsing errors can be recovered, so the caller should also determine if it can continue in spite of reported errors. kailua_diag::report::TrackMaxKind is useful for this.

Trait Implementations

impl<'a> Report for Parser<'a>
[src]