pub struct QuoteExpression {
pub specifier: QuoteSpecifier,
pub symbol: Symbol,
}Expand description
A typed Macaulay2 quote_expression syntax node.
Fields§
§specifier: QuoteSpecifierThe specifier child of this syntax node.
symbol: SymbolThe symbol child of this syntax node.
Implementations§
Source§impl QuoteExpression
impl QuoteExpression
Sourcepub fn new(specifier: QuoteSpecifier, symbol: Symbol) -> Self
pub fn new(specifier: QuoteSpecifier, symbol: Symbol) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for QuoteExpression
impl Debug for QuoteExpression
Source§impl From<QuoteExpression> for Component
impl From<QuoteExpression> for Component
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl From<QuoteExpression> for Expr
impl From<QuoteExpression> for Expr
Source§fn from(value: QuoteExpression) -> Self
fn from(value: QuoteExpression) -> Self
Converts to this type from the input type.
Source§impl Lex for QuoteExpression
impl Lex for QuoteExpression
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 QuoteExpression
impl PrettyTree for QuoteExpression
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 QuoteExpressionwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for QuoteExpressionwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for QuoteExpression
impl RefUnwindSafe for QuoteExpression
impl Send for QuoteExpression
impl Sync for QuoteExpression
impl Unpin for QuoteExpression
impl UnsafeUnpin for QuoteExpression
impl UnwindSafe for QuoteExpression
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