pub struct ExceptDo {
pub except_token: _Except,
pub exception: Symbol,
pub do_token: _Do,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 except_do syntax node.
Fields§
§except_token: _ExceptThe except_token child of this syntax node.
exception: SymbolThe exception child of this syntax node.
do_token: _DoThe do_token child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl From<ExceptDo> for TryFallback
impl From<ExceptDo> for TryFallback
Source§impl Lex for ExceptDo
impl Lex for ExceptDo
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 ExceptDo
impl PrettyTree for ExceptDo
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 ExceptDowhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for ExceptDowhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for ExceptDo
impl RefUnwindSafe for ExceptDo
impl Send for ExceptDo
impl Sync for ExceptDo
impl Unpin for ExceptDo
impl UnsafeUnpin for ExceptDo
impl UnwindSafe for ExceptDo
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