2 grob-info.cc -- implement Grob_info
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "grob-info.hh"
12 #include "translator-group.hh"
15 Grob_info::Grob_info ()
22 Grob_info::music_cause ()
24 SCM cause = grob_->get_property ("cause");
25 return unsmob_music (cause);
29 Grob_info::origin_contexts (Translator* end) const
31 Context * t = origin_trans_->context ();
32 Link_array<Context> r;
35 t = t->get_parent_context ();
36 } while (t && t != end->context ());