Struct resynth::Parser[][src]

pub struct Parser { /* fields omitted */ }
Expand description

A hand-written LR-parser which takes a token at a time and whenever a complete statement is encountered, the statement is pushed in to a results vector which can later be retreived with Parser::get_results. Each type of statement which is produced contains a line number and column number which allows any error mesages to locate themselves within the source file.

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.