Struct erg_parser::ast::VarArrayPattern
source · pub struct VarArrayPattern { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for VarArrayPattern
impl Clone for VarArrayPattern
source§fn clone(&self) -> VarArrayPattern
fn clone(&self) -> VarArrayPattern
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 VarArrayPattern
impl Debug for VarArrayPattern
source§impl Display for VarArrayPattern
impl Display for VarArrayPattern
source§impl Hash for VarArrayPattern
impl Hash for VarArrayPattern
source§impl Locational for VarArrayPattern
impl Locational for VarArrayPattern
source§fn loc(&self) -> Location
fn loc(&self) -> Location
NOTE:
loc
cannot be treated as a light method when self
is a large grammatical element.
If possible, delay the computation by passing &impl Locational
or other means.fn ln_begin(&self) -> Option<u32>
fn ln_end(&self) -> Option<u32>
fn col_begin(&self) -> Option<u32>
fn col_end(&self) -> Option<u32>
source§impl PartialEq<VarArrayPattern> for VarArrayPattern
impl PartialEq<VarArrayPattern> for VarArrayPattern
source§fn eq(&self, other: &VarArrayPattern) -> bool
fn eq(&self, other: &VarArrayPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.