Struct wast::parser::ParseBuffer [−][src]
pub struct ParseBuffer<'a> { /* fields omitted */ }
Expand description
A low-level buffer of tokens which represents a completely lexed file.
A ParseBuffer
will immediately lex an entire file and then store all
tokens internally. A ParseBuffer
only used to pass to the top-level
parse
function.
Implementations
Creates a new ParseBuffer
by lexing the given input
completely.
Errors
Returns an error if input
fails to lex.