pub struct Catch {
pub catch_token: _Catch,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 catch syntax node.
Fields§
§catch_token: _CatchThe catch_token child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Lex for Catch
impl Lex for Catch
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<N> Migrate<N> for Catchwhere
N: ExternalCstNode,
impl<N> Migrate<N> for Catchwhere
N: ExternalCstNode,
Source§impl PrettyTree for Catch
impl PrettyTree for Catch
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for Catch
impl RefUnwindSafe for Catch
impl Send for Catch
impl Sync for Catch
impl Unpin for Catch
impl UnsafeUnpin for Catch
impl UnwindSafe for Catch
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