pub struct LoopBody {
pub list_step: Option<ListStep>,
pub do_step: Option<DoStep>,
}Expand description
A typed Macaulay2 loop_body syntax node.
Fields§
§list_step: Option<ListStep>The list_step child of this syntax node.
do_step: Option<DoStep>The do_step child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Lex for LoopBody
impl Lex for LoopBody
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for LoopBody
impl PrettyTree for LoopBody
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for LoopBodywhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for LoopBodywhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for LoopBody
impl RefUnwindSafe for LoopBody
impl Send for LoopBody
impl Sync for LoopBody
impl Unpin for LoopBody
impl UnsafeUnpin for LoopBody
impl UnwindSafe for LoopBody
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