Use scalar instead of embedded_scm for context mod overrides.
[lilypond/mpolesky.git] / lily / event-iterator.cc
blobc29761a5d89b5cc52f1f621a87402f80a88f05da
1 /*
2 event-chord-iterator.cc -- implement Event_chord_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "event-iterator.hh"
11 #include "context.hh"
12 #include "duration.hh"
13 #include "input.hh"
14 #include "international.hh"
15 #include "music.hh"
16 #include "warn.hh"
18 Event_iterator::Event_iterator ()
22 void
23 Event_iterator::construct_children ()
25 descend_to_bottom_context ();
26 Simple_music_iterator::construct_children ();
29 void
30 Event_iterator::process (Moment m)
32 if (last_processed_mom_ < Moment (0))
33 report_event (get_music ());
35 Simple_music_iterator::process (m);
38 IMPLEMENT_CTOR_CALLBACK (Event_iterator);