]> git.donarmstrong.com Git - lilypond.git/blob - lily/type-swallow-translator.cc
patch::: 1.3.18.jcn1
[lilypond.git] / lily / type-swallow-translator.cc
1 /*
2   type-swallow-translator.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-translator.hh"
10 #include "musical-request.hh"
11
12 DECLARE_REQUEST_SWALLOWER (Skip_req);
13
14 bool
15 Type_swallow_translator::do_try_music (Music*r)
16 {
17   if (classname (r) == swallow_str_)
18       return true;
19   return false;
20 }