pub struct DebugExpr {
pub debug_token: DebugKeyword,
pub value: Option<Box<Expr>>,
}Expand description
A typed Macaulay2 debug_expr syntax node.
Fields§
§debug_token: DebugKeywordThe debug_token child of this syntax node.
value: Option<Box<Expr>>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Lex for DebugExpr
impl Lex for DebugExpr
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 DebugExpr
impl PrettyTree for DebugExpr
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 DebugExprwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for DebugExprwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for DebugExpr
impl RefUnwindSafe for DebugExpr
impl Send for DebugExpr
impl Sync for DebugExpr
impl Unpin for DebugExpr
impl UnsafeUnpin for DebugExpr
impl UnwindSafe for DebugExpr
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