Struct endbasic_core::ast::AssignmentSpan
source · Expand description
Components of an assignment statement.
Fields§
§vref: VarRef
Reference to the variable to set.
vref_pos: LineCol
Position of the vref
.
expr: Expr
Expression to compute the value of the modified variable.
Trait Implementations§
source§impl Debug for AssignmentSpan
impl Debug for AssignmentSpan
source§impl PartialEq<AssignmentSpan> for AssignmentSpan
impl PartialEq<AssignmentSpan> for AssignmentSpan
source§fn eq(&self, other: &AssignmentSpan) -> bool
fn eq(&self, other: &AssignmentSpan) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.