Struct artichoke::parser::Parser[][src]

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

Wraps a artichoke_backend mruby parser.

Implementations

Create a new parser from an interpreter instance.

Parse the code buffer to determine if the code is a complete expression that could be evaluated even though it may not be syntactically or semantically valid.

Errors

If the supplied code is more than isize::MAX bytes long, an error is returned,

If the underlying parser returns a UTF-8 invalid error message, an error is returned.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this 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.