pub struct ParsingScope { /* private fields */ }Expand description
Parsing scope.
Implementations§
Source§impl ParsingScope
impl ParsingScope
Sourcepub fn pop(&self) -> Option<ParsingContext>
pub fn pop(&self) -> Option<ParsingContext>
Returns a context removed from the top of the stack.
Sourcepub fn push_default(&self)
pub fn push_default(&self)
Puts a default context on the top of the stack.
Sourcepub fn set_entry_name(&self, name: Name)
pub fn set_entry_name(&self, name: Name)
Sets a specified entry name in context placed on the top of the stack.
Sourcepub fn set_context(&self, name: Name, ctx: ParsingContext)
pub fn set_context(&self, name: Name, ctx: ParsingContext)
Sets a context under a specified name in the context placed on the top of the stack.
Trait Implementations§
Source§impl Default for ParsingScope
impl Default for ParsingScope
Source§impl Display for ParsingScope
impl Display for ParsingScope
Auto Trait Implementations§
impl !Freeze for ParsingScope
impl !RefUnwindSafe for ParsingScope
impl Send for ParsingScope
impl !Sync for ParsingScope
impl Unpin for ParsingScope
impl UnwindSafe for ParsingScope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more