Struct rat_in_a_tube::Compiler

source ·
pub struct Compiler { /* private fields */ }
Expand description

Compiler instance.

Implementations

Instantiate a new compiler instance with the given compile target.

Read the tokens from a u8 slice containing string data.

Errors

Errors if the script contains data that could not be decoded, if non-parenthesis tokens exist outside of a block, or if any parenthesis are unmatched.

Parse all loaded tokens and then clear the tokens if successful.

Errors

Errors if the script data is invalid.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.