pub struct IfFrame {
pub token: Token,
pub start: Locator,
pub parsing: bool,
pub elses: bool,
pub ifid: i64,
}Expand description
A Frame of data for the currently active conditional, stored in State
Fields§
§token: Tokenthe token which started the conditional
start: Locatorsource location of the conditional start
parsing: boolflag: currently parsing the test
elses: boolflag: already seen an else at this level
ifid: i64in nested conditionals, give each an id
Trait Implementations§
impl StructuralPartialEq for IfFrame
Auto Trait Implementations§
impl Freeze for IfFrame
impl RefUnwindSafe for IfFrame
impl Send for IfFrame
impl Sync for IfFrame
impl Unpin for IfFrame
impl UnsafeUnpin for IfFrame
impl UnwindSafe for IfFrame
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