2 melisma-engraver.cc -- implement Melisma_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "engraver.hh"
13 #include "translator-group.hh"
16 Signal existence of melismas.
18 class Melisma_engraver:public Engraver
21 TRANSLATOR_DECLARATIONS(Melisma_engraver);
22 bool try_music (Music *);
27 Melisma_engraver::try_music (Music *)
30 This can only be melisma-playing-event.
32 return melisma_busy (this);
35 Melisma_engraver::Melisma_engraver()
39 ENTER_DESCRIPTION(Melisma_engraver,
40 /* descr */ "This engraver collects melisma information about ties, beams, and user settings (@code{melismaBusy}, and signals it to the @code{\addlyrics} code. ",
42 /* accepts */ "melisma-playing-event",
44 /* reads */ "melismaBusy melismaBusyProperties slurMelismaBusy tieMelismaBusy beamMelismaBusy",