Struct oak_runtime::parse_state::ParseExpectation [] [src]

pub struct ParseExpectation<S> { /* fields omitted */ }

Methods

impl<S> ParseExpectation<S>
[src]

impl<S> ParseExpectation<S> where
    S: Location + CodeSnippet
[src]

Trait Implementations

impl<S> Debug for ParseExpectation<S> where
    S: Location + CodeSnippet
[src]

Prints an error message of the form: 1:1: unexpected `a+1`, expecting `(` or `["0-9"]`. where 1:1 is the line and the column where the error occurred.

Formats the value using the given formatter.