pub struct ParserMemberAction {
pub source_state: usize,
pub member: usize,
pub delta: i64,
}Expand description
Integer member mutation attached to an ATN action transition.
Fields§
§source_state: usizeATN state containing the action transition.
member: usizeGenerator-assigned integer member id.
delta: i64Delta applied when the action is reached on one speculative path.
Implementations§
Source§impl ParserMemberAction
impl ParserMemberAction
Sourcepub fn lower_into_semir(self, ir: &mut SemIr) -> ParserSemanticAction
pub fn lower_into_semir(self, ir: &mut SemIr) -> ParserSemanticAction
Lowers this speculative member mutation into a SemIR action.
Trait Implementations§
Source§impl Clone for ParserMemberAction
impl Clone for ParserMemberAction
Source§fn clone(&self) -> ParserMemberAction
fn clone(&self) -> ParserMemberAction
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 ParserMemberAction
Source§impl Debug for ParserMemberAction
impl Debug for ParserMemberAction
impl Eq for ParserMemberAction
Source§impl Ord for ParserMemberAction
impl Ord for ParserMemberAction
Source§fn cmp(&self, other: &ParserMemberAction) -> Ordering
fn cmp(&self, other: &ParserMemberAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParserMemberAction
impl PartialEq for ParserMemberAction
Source§impl PartialOrd for ParserMemberAction
impl PartialOrd for ParserMemberAction
impl StructuralPartialEq for ParserMemberAction
Auto Trait Implementations§
impl Freeze for ParserMemberAction
impl RefUnwindSafe for ParserMemberAction
impl Send for ParserMemberAction
impl Sync for ParserMemberAction
impl Unpin for ParserMemberAction
impl UnsafeUnpin for ParserMemberAction
impl UnwindSafe for ParserMemberAction
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