pub struct Holder {
pub muted: Vec<Statement>,
pub value: Option<Box<Expr>>,
pub delimiter: _ParenthesisDelimiter,
}Expand description
A typed Macaulay2 holder syntax node.
Fields§
§muted: Vec<Statement>The muted child of this syntax node.
value: Option<Box<Expr>>The value child of this syntax node.
delimiter: _ParenthesisDelimiterThe paired delimiter surrounding this node.
Implementations§
Trait Implementations§
Source§impl Lex for Holder
impl Lex for Holder
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 Holder
impl PrettyTree for Holder
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 Holderwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Holderwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for Holder
impl RefUnwindSafe for Holder
impl Send for Holder
impl Sync for Holder
impl Unpin for Holder
impl UnsafeUnpin for Holder
impl UnwindSafe for Holder
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