Struct syntax::parse::parser::TokenCursor [−][src]
struct TokenCursor { frame: TokenCursorFrame, stack: Vec<TokenCursorFrame>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
frame: TokenCursorFrame
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
stack: Vec<TokenCursorFrame>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl TokenCursor
[src]
impl TokenCursor
fn next(&mut self) -> TokenAndSpan
[src]
fn next(&mut self) -> TokenAndSpan
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn next_desugared(&mut self) -> TokenAndSpan
[src]
fn next_desugared(&mut self) -> TokenAndSpan
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Clone for TokenCursor
[src]
impl Clone for TokenCursor
fn clone(&self) -> TokenCursor
[src]
fn clone(&self) -> TokenCursor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for TokenCursor
impl !Send for TokenCursor
impl !Sync for TokenCursor
impl !Sync for TokenCursor