pub struct ParserSemanticAction {
pub source_state: usize,
pub rule_index: usize,
pub stmt: StmtId,
pub speculative: bool,
}Expand description
Parser action coordinate lowered into SemIr.
Fields§
§source_state: usizeATN state containing the action transition.
rule_index: usizeSerialized rule index recorded by the action transition.
stmt: StmtIdRoot statement in the associated ParserSemantics::ir arena.
speculative: boolWhether this action may run on speculative recognition paths.
Trait Implementations§
Source§impl Clone for ParserSemanticAction
impl Clone for ParserSemanticAction
Source§fn clone(&self) -> ParserSemanticAction
fn clone(&self) -> ParserSemanticAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParserSemanticAction
Source§impl Debug for ParserSemanticAction
impl Debug for ParserSemanticAction
impl Eq for ParserSemanticAction
Source§impl PartialEq for ParserSemanticAction
impl PartialEq for ParserSemanticAction
impl StructuralPartialEq for ParserSemanticAction
Auto Trait Implementations§
impl Freeze for ParserSemanticAction
impl RefUnwindSafe for ParserSemanticAction
impl Send for ParserSemanticAction
impl Sync for ParserSemanticAction
impl Unpin for ParserSemanticAction
impl UnsafeUnpin for ParserSemanticAction
impl UnwindSafe for ParserSemanticAction
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