Struct endbasic_core::ast::IfBranchSpan
source · Expand description
Components of a branch of an IF statement.
Fields§
§guard: ExprExpression that guards execution of this branch.
body: Vec<Statement>Statements within the branch.
Trait Implementations§
source§impl Debug for IfBranchSpan
impl Debug for IfBranchSpan
source§impl PartialEq<IfBranchSpan> for IfBranchSpan
impl PartialEq<IfBranchSpan> for IfBranchSpan
source§fn eq(&self, other: &IfBranchSpan) -> bool
fn eq(&self, other: &IfBranchSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.