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