pub struct ThenClause {
pub then_token: _Then,
pub expr: Box<Expr>,
}Expand description
A typed Macaulay2 then_clause syntax node.
Fields§
§then_token: _ThenThe then_token child of this syntax node.
expr: Box<Expr>The expr child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Debug for ThenClause
impl Debug for ThenClause
Source§impl Lex for ThenClause
impl Lex for ThenClause
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 ThenClause
impl PrettyTree for ThenClause
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 ThenClausewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ThenClausewhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for ThenClause
impl RefUnwindSafe for ThenClause
impl Send for ThenClause
impl Sync for ThenClause
impl Unpin for ThenClause
impl UnsafeUnpin for ThenClause
impl UnwindSafe for ThenClause
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