Struct endbasic_core::ast::SymbolSpan
source · Expand description
Components of a symbol reference expression.
Fields§
§vref: VarRefThe symbol reference.
pos: LineColStarting position of the symbol reference.
Trait Implementations§
source§impl Clone for SymbolSpan
impl Clone for SymbolSpan
source§fn clone(&self) -> SymbolSpan
fn clone(&self) -> SymbolSpan
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 SymbolSpan
impl Debug for SymbolSpan
source§impl PartialEq<SymbolSpan> for SymbolSpan
impl PartialEq<SymbolSpan> for SymbolSpan
source§fn eq(&self, other: &SymbolSpan) -> bool
fn eq(&self, other: &SymbolSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.