Struct unrest_tmp_synom::cursor::SynomBuffer
[−]
[src]
pub struct SynomBuffer { /* fields omitted */ }
A buffer of data which contains a structured representation of the input
TokenStream
object.
Methods
impl SynomBuffer
[src]
fn new(stream: TokenStream) -> SynomBuffer
Create a new SynomBuffer, which contains the data from the given TokenStream.
fn begin(&self) -> Cursor
Create a cursor referencing the first token in the input.