pub struct Throw {
pub throw_token: _Throw,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 throw syntax node.
Fields§
§throw_token: _ThrowThe throw_token child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Lex for Throw
impl Lex for Throw
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 Throw
impl PrettyTree for Throw
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 Throwwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Throwwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for Throw
impl RefUnwindSafe for Throw
impl Send for Throw
impl Sync for Throw
impl Unpin for Throw
impl UnsafeUnpin for Throw
impl UnwindSafe for Throw
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