*/
+
+/*
+ Folded repeats are a stupid idea at this point, so we refrain from
+ implementing get_music () and skip ().
+*/
+
#include "folded-repeat-iterator.hh"
#include "repeated-music.hh"
#include "music-list.hh"
}
Moment
-Folded_repeat_iterator::next_moment () const
+Folded_repeat_iterator::pending_moment () const
{
if (main_iter_p_)
{
- return main_iter_p_->next_moment ();
+ return main_iter_p_->pending_moment ();
}
else
- return main_length_mom_ + alternative_iter_p_->next_moment ();
+ return main_length_mom_ + alternative_iter_p_->pending_moment ();
}
void
}
void
-Folded_repeat_iterator::do_process (Moment m)
+Folded_repeat_iterator::process (Moment m)
{
if (!m)
{