Struct endbasic_core::ast::IntegerSpan
source · Expand description
Components of an integer literal expression.
Fields§
§value: i32The integer literal.
pos: LineColStarting position of the literal.
Trait Implementations§
source§impl Clone for IntegerSpan
impl Clone for IntegerSpan
source§fn clone(&self) -> IntegerSpan
fn clone(&self) -> IntegerSpan
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IntegerSpan
impl Debug for IntegerSpan
source§impl PartialEq<IntegerSpan> for IntegerSpan
impl PartialEq<IntegerSpan> for IntegerSpan
source§fn eq(&self, other: &IntegerSpan) -> bool
fn eq(&self, other: &IntegerSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.