pub struct Sequence {
pub statements: Vec<Statement>,
pub elements: Option<ExprPack>,
pub delimiter: _ParenthesisDelimiter,
}Expand description
A typed Macaulay2 sequence syntax node.
Fields§
§statements: Vec<Statement>The statements child of this syntax node.
elements: Option<ExprPack>The elements child of this syntax node.
delimiter: _ParenthesisDelimiterThe paired delimiter surrounding this node.
Implementations§
Trait Implementations§
Source§impl From<Sequence> for Collection
impl From<Sequence> for Collection
Source§impl Lex for Sequence
impl Lex for Sequence
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 Sequence
impl PrettyTree for Sequence
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 Sequencewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Sequencewhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl Send for Sequence
impl Sync for Sequence
impl Unpin for Sequence
impl UnsafeUnpin for Sequence
impl UnwindSafe for Sequence
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