]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-iterator.hh
release: 1.3.88
[lilypond.git] / lily / include / music-iterator.hh
index 25d099ecccd105416885da1ceb89a8d829aebad8..2f9c6cf7cc887f3109c0b8353a75972315dbc396 100644 (file)
     thus changing the state of the interpretation context.
 
   get_music (M) -- return all events starting at M (pre: no events
-    before M).
+    before M).  Side effects:
 
-  skip (M) -- remove all events at M from the pending queue.
+    * This removes all events at M from the pending queue.
 
+  Because next (M) is rolled into process () as a side effect,
+  we need to roll next (M) into get_music too.  Urg.
+    
 */
 class Music_iterator
 {
@@ -72,7 +75,6 @@ public:
   virtual bool ok () const;
   virtual SCM get_music (Moment until)const;
   virtual void process (Moment until);
-  virtual void skip (Moment until);
 
   /**
     Construct sub-iterators, and set the translator to