pub struct RawStringLiteral {
pub elements: Vec<RawStringElement>,
/* private fields */
}Expand description
A typed Macaulay2 raw_string_literal syntax node.
Fields§
§elements: Vec<RawStringElement>The elements child of this syntax node.
Implementations§
Source§impl RawStringLiteral
impl RawStringLiteral
Sourcepub fn new(elements: Vec<RawStringElement>, span: Span) -> Self
pub fn new(elements: Vec<RawStringElement>, span: Span) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for RawStringLiteral
impl Debug for RawStringLiteral
Source§impl From<RawStringLiteral> for Component
impl From<RawStringLiteral> for Component
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<RawStringLiteral> for Expr
impl From<RawStringLiteral> for Expr
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<RawStringLiteral> for Literal
impl From<RawStringLiteral> for Literal
Source§fn from(value: RawStringLiteral) -> Self
fn from(value: RawStringLiteral) -> Self
Converts to this type from the input type.
Source§impl Lex for RawStringLiteral
impl Lex for RawStringLiteral
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 RawStringLiteral
impl PrettyTree for RawStringLiteral
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 RawStringLiteralwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for RawStringLiteralwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for RawStringLiteral
impl RefUnwindSafe for RawStringLiteral
impl Send for RawStringLiteral
impl Sync for RawStringLiteral
impl Unpin for RawStringLiteral
impl UnsafeUnpin for RawStringLiteral
impl UnwindSafe for RawStringLiteral
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