]> git.donarmstrong.com Git - lilypond.git/blob - lily/type-swallow-trans.cc
release: 1.1.43
[lilypond.git] / lily / type-swallow-trans.cc
1 /*
2   type-swallow-trans.cc -- implement Type_swallow_translator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #include "type-swallow-trans.hh"
10 #include "musical-request.hh"
11
12
13 bool
14 Type_swallow_translator::do_try_music (Music*r)
15 {
16   if (classname (r) == swallow_str_)
17       return true;
18   return false;
19 }
20
21
22
23 DECLARE_REQUEST_SWALLOWER(Skip_req);