Enum endbasic_core::ast::OnErrorSpan
source · pub enum OnErrorSpan {
Goto(GotoSpan),
Reset,
ResumeNext,
}Expand description
Components of an ON ERROR statement.
Variants§
Goto(GotoSpan)
Components of an ON ERROR GOTO @label statement.
Reset
Components of an ON ERROR GOTO 0 statement.
ResumeNext
Components of an ON ERROR RESUME NEXT statement.
Trait Implementations§
source§impl Debug for OnErrorSpan
impl Debug for OnErrorSpan
source§impl PartialEq<OnErrorSpan> for OnErrorSpan
impl PartialEq<OnErrorSpan> for OnErrorSpan
source§fn eq(&self, other: &OnErrorSpan) -> bool
fn eq(&self, other: &OnErrorSpan) -> bool
This method tests for
self and other values to be equal, and is used
by ==.