pub struct IntegerLiteral { /* private fields */ }Expand description
A typed Macaulay2 integer_literal syntax leaf.
Implementations§
Trait Implementations§
Source§impl Debug for IntegerLiteral
impl Debug for IntegerLiteral
Source§impl From<IntegerLiteral> for Component
impl From<IntegerLiteral> for Component
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<IntegerLiteral> for Expr
impl From<IntegerLiteral> for Expr
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl From<IntegerLiteral> for Literal
impl From<IntegerLiteral> for Literal
Source§fn from(value: IntegerLiteral) -> Self
fn from(value: IntegerLiteral) -> Self
Converts to this type from the input type.
Source§impl Lex for IntegerLiteral
impl Lex for IntegerLiteral
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<N> Migrate<N> for IntegerLiteralwhere
N: ExternalCstNode,
impl<N> Migrate<N> for IntegerLiteralwhere
N: ExternalCstNode,
Source§impl PrettyTree for IntegerLiteral
impl PrettyTree for IntegerLiteral
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl Spanned for IntegerLiteral
impl Spanned for IntegerLiteral
Source§impl Terminal for IntegerLiteral
impl Terminal for IntegerLiteral
Source§fn leading_trivia(&self) -> &LeadingTrivia
fn leading_trivia(&self) -> &LeadingTrivia
Borrows the comments preceding this terminal.
Source§fn leading_trivia_mut(&mut self) -> &mut LeadingTrivia
fn leading_trivia_mut(&mut self) -> &mut LeadingTrivia
Mutably borrows the comments preceding this terminal.
Source§fn trailing_trivia(&self) -> &TrailingTrivia
fn trailing_trivia(&self) -> &TrailingTrivia
Borrows the comments following this terminal.
Source§fn trailing_trivia_mut(&mut self) -> &mut TrailingTrivia
fn trailing_trivia_mut(&mut self) -> &mut TrailingTrivia
Mutably borrows the comments following this terminal.
Source§fn set_leading_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
fn set_leading_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
Replaces the comments preceding this terminal.
Source§fn set_trailing_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
fn set_trailing_trivia(&mut self, trivia: impl IntoIterator<Item = Trivia>)where
Self: Sized,
Replaces the comments and layout characters following this terminal.
Auto Trait Implementations§
impl Freeze for IntegerLiteral
impl RefUnwindSafe for IntegerLiteral
impl Send for IntegerLiteral
impl Sync for IntegerLiteral
impl Unpin for IntegerLiteral
impl UnsafeUnpin for IntegerLiteral
impl UnwindSafe for IntegerLiteral
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