], $meta);
}
-sub _fmt_step_normal {
+sub _fmt_step_considerproposition {
my ($self, $step, $meta) = @_;
- $self->_fmt_object([
+ 'consider '.$self->_fmt($step->proposition, $meta);
+}
+
+sub _fmt_step_resolveproposition {
+ my ($self, $step, $meta) = @_;
+ 'resolve '.$self->_fmt_object([
[ actions => $step->actions ],
- [ alternative_step => $step->alternative_step ],
+ ($step->alternative_step
+ ? [ alternative_step => '...' ]
+ : ()),
], $meta);
}
+sub _fmt_step_backtrack { 'backtrack' }
+
+sub _fmt_step_markassolution { 'mark as solution' }
+
+sub _fmt_step_enterrecheck {
+ my ($self, $step, $meta) = @_;
+ 'recheck '.$self->_fmt($step->proposition_list->[0], $meta);
+}
+
+sub _fmt_step_completerecheck { 'complete recheck' }
+
+sub _fmt_step_failrecheck { 'fail recheck' }
+
1;