macros ADD_TRANSLATOR, DECLARE_SMOBS and DECLARE_SIMPLE_SMOBS
163 files changed:
+2006-10-15 Erik Sandberg <mandolaerik@gmail.com>
+
+ * lily/*.cc, lily/include/*.hh: eliminate dummy arguments from
+ macros ADD_TRANSLATOR, DECLARE_SMOBS and DECLARE_SIMPLE_SMOBS
+
2006-10-15 Han-Wen Nienhuys <hanwen@lilypond.org>
* mf/GNUmakefile: remove fc-cache calls; not necessary for fc 2.4;
2006-10-15 Han-Wen Nienhuys <hanwen@lilypond.org>
* mf/GNUmakefile: remove fc-cache calls; not necessary for fc 2.4;
* scm/document-music.cc: use data from translator listener
registration to generate documentation for event classes
* scm/document-music.cc: use data from translator listener
registration to generate documentation for event classes
+ * lily/*: Eliminate accept arg of ADD_TRANSLATOR
+
+ * lily/include/*: Eliminate dummy arg of DECLARE_*SMOBS
+
2006-10-13 Jan Nieuwenhuizen <janneke@gnu.org>
* GNUmakefile.in (SCRIPTS): Remove lexer-gcc-3.1.sh.
2006-10-13 Jan Nieuwenhuizen <janneke@gnu.org>
* GNUmakefile.in (SCRIPTS): Remove lexer-gcc-3.1.sh.
"so you can @code{\\override} them at @code{Voice}. ",
"Accidental AccidentalSuggestion",
"so you can @code{\\override} them at @code{Voice}. ",
"Accidental AccidentalSuggestion",
"autoAccidentals "
"autoCautionaries "
"internalBarNumber "
"autoAccidentals "
"autoCautionaries "
"internalBarNumber "
"AmbitusLine "
"AmbitusNoteHead "
"AmbitusAccidental",
"AmbitusLine "
"AmbitusNoteHead "
"AmbitusAccidental",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Arpeggio_engraver,
/* doc */ "Generate an Arpeggio symbol",
/* create */ "Arpeggio",
ADD_TRANSLATOR (Arpeggio_engraver,
/* doc */ "Generate an Arpeggio symbol",
/* create */ "Arpeggio",
- /* accept */ "arpeggio-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"@ref{Stem_engraver} properties @code{stemLeftBeamCount} and "
"@code{stemRightBeamCount}. ",
/* create */ "Beam",
"@ref{Stem_engraver} properties @code{stemLeftBeamCount} and "
"@code{stemRightBeamCount}. ",
/* create */ "Beam",
- /* accept */ "beam-forbid-event",
/* read */ "autoBeaming autoBeamSettings beatLength subdivideBeams",
/* write */ "");
/* read */ "autoBeaming autoBeamSettings beatLength subdivideBeams",
/* write */ "");
ADD_TRANSLATOR (Axis_group_engraver,
/* doc */ "Group all objects created in this context in a VerticalAxisGroup spanner.",
/* create */ "VerticalAxisGroup",
ADD_TRANSLATOR (Axis_group_engraver,
/* doc */ "Group all objects created in this context in a VerticalAxisGroup spanner.",
/* create */ "VerticalAxisGroup",
/* read */
"currentCommandColumn ",
/* read */
"currentCommandColumn ",
/* doc */ "Create barlines. This engraver is controlled through the "
"@code{whichBar} property. If it has no bar line to create, it will forbid a linebreak at this point",
/* create */ "BarLine",
/* doc */ "Create barlines. This engraver is controlled through the "
"@code{whichBar} property. If it has no bar line to create, it will forbid a linebreak at this point",
/* create */ "BarLine",
/* read */ "whichBar",
/* write */ "forbidBreak");
/* read */ "whichBar",
/* write */ "forbidBreak");
"@code{@ref{Staff_collecting_engraver}}. ",
/* create */ "BarNumber",
"@code{@ref{Staff_collecting_engraver}}. ",
/* create */ "BarNumber",
/* read */
"currentBarNumber "
"whichBar "
/* read */
"currentBarNumber "
"whichBar "
"printed with flags instead of beams.",
/* create */ "Beam",
"printed with flags instead of beams.",
/* create */ "Beam",
- /* accept */ "beam-event",
/* read */
"beamMelismaBusy "
/* read */
"beamMelismaBusy "
" are at grace points in time. ",
/* create */ "Beam",
" are at grace points in time. ",
/* create */ "Beam",
- /* accept */ "beam-event",
/* read */
"beamMelismaBusy "
"beatLength "
/* read */
"beamMelismaBusy "
"beatLength "
-ADD_TRANSLATOR (Beam_performer, "", "",
- "beam-event", "", "");
+ADD_TRANSLATOR (Beam_performer, "", "", "", "");
"groups, and order the groups according to @code{breakAlignOrder}. "
"The left edge of the alignment gets a separate group, with a symbol @code{left-edge}. ",
/* create */ "BreakAlignment BreakAlignGroup LeftEdge",
"groups, and order the groups according to @code{breakAlignOrder}. "
"The left edge of the alignment gets a separate group, with a symbol @code{left-edge}. ",
/* create */ "BreakAlignment BreakAlignGroup LeftEdge",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Breathing_sign_engraver,
/* doc */ "",
/* create */ "BreathingSign",
ADD_TRANSLATOR (Breathing_sign_engraver,
/* doc */ "",
/* create */ "BreathingSign",
- /* accept */ "breathing-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* doc */ "Catch note-events "
"and generate the appropriate chordname.",
/* create */ "ChordName",
/* doc */ "Catch note-events "
"and generate the appropriate chordname.",
/* create */ "ChordName",
- /* accept */ "note-event",
/* read */ "chordChanges chordNameExceptions chordNameFunction "
"chordNoteNamer chordRootNamer chordNameExceptions majorSevenSymbol",
/* write */ "");
/* read */ "chordChanges chordNameExceptions chordNameFunction "
"chordNoteNamer chordRootNamer chordNameExceptions majorSevenSymbol",
/* write */ "");
ADD_TRANSLATOR (Chord_tremolo_engraver,
/* doc */ "Generates beams for tremolo repeats.",
/* create */ "Beam",
ADD_TRANSLATOR (Chord_tremolo_engraver,
/* doc */ "Generates beams for tremolo repeats.",
/* create */ "Beam",
- /* accept */ "tremolo-span-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* doc */ "Determine and set reference point for pitches",
/* create */ "Clef "
"OctavateEight ",
/* doc */ "Determine and set reference point for pitches",
/* create */ "Clef "
"OctavateEight ",
/* read */
"clefGlyph "
"clefOctavation "
/* read */
"clefGlyph "
"clefOctavation "
ADD_TRANSLATOR (Cluster_spanner_engraver,
/* doc */ "Engraves a cluster using Spanner notation ",
/* create */ "ClusterSpanner ClusterSpannerBeacon",
ADD_TRANSLATOR (Cluster_spanner_engraver,
/* doc */ "Engraves a cluster using Spanner notation ",
/* create */ "ClusterSpanner ClusterSpannerBeacon",
- /* accept */ "cluster-note-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Collision_engraver,
/* doc */ "Collect NoteColumns, and as soon as there are two or more, put them in a NoteCollision object.",
/* create */ "NoteCollision",
ADD_TRANSLATOR (Collision_engraver,
/* doc */ "Collect NoteColumns, and as soon as there are two or more, put them in a NoteCollision object.",
/* create */ "NoteCollision",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"NoteHead "
"Dots "
"Tie",
"NoteHead "
"Dots "
"Tie",
-
- /* accept */ "note-event",
/* read */
"middleCPosition "
"measurePosition "
/* read */
"middleCPosition "
"measurePosition "
}
ADD_TRANSLATOR (Control_track_performer, "", "",
}
ADD_TRANSLATOR (Control_track_performer, "", "",
ADD_TRANSLATOR (Custos_engraver,
/* doc */ "",
/* create */ "Custos",
ADD_TRANSLATOR (Custos_engraver,
/* doc */ "",
/* create */ "Custos",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"level as @ref{Timing_translator}. ",
/* create */ "",
"level as @ref{Timing_translator}. ",
/* create */ "",
/* read */
"automaticBars "
/* read */
"automaticBars "
/* doc */ "Engraves dots on dotted notes shifted to the right of the note.\n"
"If omitted, then dots appear on top of the notes.",
/* create */ "DotColumn",
/* doc */ "Engraves dots on dotted notes shifted to the right of the note.\n"
"If omitted, then dots appear on top of the notes.",
/* create */ "DotColumn",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* create */
"NoteHead "
"Script",
/* create */
"NoteHead "
"Script",
-
- /* accept */ "note-event",
/* read */ "drumStyleTable",
/* write */ "");
/* read */ "drumStyleTable",
/* write */ "");
}
ADD_TRANSLATOR (Drum_note_performer,
}
ADD_TRANSLATOR (Drum_note_performer,
- "Play drum notes.", "",
- "note-event", "", "");
+ "Play drum notes.", "", "", "");
"which takes care of vertical positioning. ",
/* create */ "DynamicLineSpanner DynamicText Hairpin TextSpanner",
"which takes care of vertical positioning. ",
/* create */ "DynamicLineSpanner DynamicText Hairpin TextSpanner",
- /* accept */ "absolute-dynamic-event crescendo-event decrescendo-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Dynamic_performer,
/* doc */ "",
/* create */ "",
ADD_TRANSLATOR (Dynamic_performer,
/* doc */ "",
/* create */ "",
-
- /* accept */
- "absolute-dynamic-event",
/* read */
"dynamicAbsoluteVolumeFunction "
/* read */
"dynamicAbsoluteVolumeFunction "
ADD_TRANSLATOR_GROUP (Engraver_group,
/* doc */ "A group of engravers taken together",
/* create */ "",
ADD_TRANSLATOR_GROUP (Engraver_group,
/* doc */ "A group of engravers taken together",
/* create */ "",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"Base class for engravers. Does nothing, so it is not used.",
"",
"",
"Base class for engravers. Does nothing, so it is not used.",
"",
"",
ADD_TRANSLATOR (Extender_engraver,
/* doc */ "Create lyric extenders",
/* create */ "LyricExtender",
ADD_TRANSLATOR (Extender_engraver,
/* doc */ "Create lyric extenders",
/* create */ "LyricExtender",
- /* accept */ "extender-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Bend_after_engraver,
/* doc */ "Create fall spanners.",
/* create */ "BendAfter",
ADD_TRANSLATOR (Bend_after_engraver,
/* doc */ "Create fall spanners.",
/* create */ "BendAfter",
- /* accept */ "bend-after-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"BassFigureContinuation "
"BassFigureLine "
,
"BassFigureContinuation "
"BassFigureLine "
,
- /* accept */
- "bass-figure-event "
- "rest-event",
/* read */
"figuredBassAlterationDirection "
/* read */
"figuredBassAlterationDirection "
/* create */
"BassFigureAlignmentPositioning ",
/* create */
"BassFigureAlignmentPositioning ",
/* read */
" ",
/* write */ "");
/* read */
" ",
/* write */ "");
"Create fingering-scripts",
/* create */
"Fingering",
"Create fingering-scripts",
/* create */
"Fingering",
- /* accept */
- "fingering-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Font_size_engraver,
/* doc */ "Puts fontSize into font-size grob property.",
/* create */ "",
ADD_TRANSLATOR (Font_size_engraver,
/* doc */ "Puts fontSize into font-size grob property.",
/* create */ "",
/* read */ "fontSize",
/* write */ "");
/* read */ "fontSize",
/* write */ "");
/* doc */ "Forbid line breaks when note heads "
"are still playing at some point.",
/* create */ "",
/* doc */ "Forbid line breaks when note heads "
"are still playing at some point.",
/* create */ "",
/* read */ "busyGrobs",
/* write */ "forbidBreak");
/* read */ "busyGrobs",
/* write */ "forbidBreak");
ADD_TRANSLATOR (Glissando_engraver,
/* doc */ "Engrave a glissandi",
/* create */ "Glissando",
ADD_TRANSLATOR (Glissando_engraver,
/* doc */ "Engrave a glissandi",
/* create */ "Glissando",
- /* accept */ "glissando-event",
/* read */ "followVoice",
/* write */ "");
/* read */ "followVoice",
/* write */ "");
ADD_TRANSLATOR (Grace_engraver,
/* doc */ "Set font size and other properties for grace notes.",
/* create */ "",
ADD_TRANSLATOR (Grace_engraver,
/* doc */ "Set font size and other properties for grace notes.",
/* create */ "",
/* read */ "graceSettings",
/* write */ "");
/* read */ "graceSettings",
/* write */ "");
/* create */
"GraceSpacing ",
/* create */
"GraceSpacing ",
/* read */
"currentMusicalColumn ",
/* read */
"currentMusicalColumn ",
/* doc */ "This engraver makes cross-staff linelines: It catches all normal "
"line lines, and draws a single span-line across them.",
/* create */ "GridLine",
/* doc */ "This engraver makes cross-staff linelines: It catches all normal "
"line lines, and draws a single span-line across them.",
/* create */ "GridLine",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Grid_point_engraver,
/* doc */ "generate grid points.",
/* create */ "GridPoint",
ADD_TRANSLATOR (Grid_point_engraver,
/* doc */ "generate grid points.",
/* create */ "GridPoint",
/* read */ "gridInterval",
/* write */ "");
/* read */ "gridInterval",
/* write */ "");
/* doc */ "Administrate when certain grobs (eg. note heads) stop playing",
/* create */ "",
/* doc */ "Administrate when certain grobs (eg. note heads) stop playing",
/* create */ "",
/* read */ "busyGrobs",
/* write */ "busyGrobs");
/* read */ "busyGrobs",
/* write */ "busyGrobs");
/* doc */ "Like Axis_group_engraver, but make a hara-kiri spanner, and add "
"interesting items (ie. note heads, lyric syllables and normal rests) ",
/* create */ "VerticalAxisGroup",
/* doc */ "Like Axis_group_engraver, but make a hara-kiri spanner, and add "
"interesting items (ie. note heads, lyric syllables and normal rests) ",
/* create */ "VerticalAxisGroup",
/* read */ "keepAliveInterfaces",
/* write */ "");
/* read */ "keepAliveInterfaces",
/* write */ "");
ADD_TRANSLATOR (Horizontal_bracket_engraver,
"Create horizontal brackets over notes for musical analysis purposes.",
"HorizontalBracket",
ADD_TRANSLATOR (Horizontal_bracket_engraver,
"Create horizontal brackets over notes for musical analysis purposes.",
"HorizontalBracket",
/* doc */ "Create lyric hyphens and "
"distance constraints between words.",
/* create */ "LyricHyphen LyricSpace",
/* doc */ "Create lyric hyphens and "
"distance constraints between words.",
/* create */ "LyricHyphen LyricSpace",
- /* accept */ "hyphen-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
- DECLARE_SMOBS (Book, foo);
public:
string user_key_;
public:
string user_key_;
class Box
{
Interval interval_a_[NO_AXES];
class Box
{
Interval interval_a_[NO_AXES];
- DECLARE_SIMPLE_SMOBS (Box,);
+ DECLARE_SIMPLE_SMOBS (Box);
public:
Interval &x () {return interval_a_[X_AXIS]; }
Interval &y (){ return interval_a_[Y_AXIS]; }
public:
Interval &x () {return interval_a_[X_AXIS]; }
Interval &y (){ return interval_a_[Y_AXIS]; }
void apply_default_property_operations (Context *);
private:
void apply_default_property_operations (Context *);
private:
- DECLARE_SMOBS (Context_def, foo);
+ DECLARE_SMOBS (Context_def);
Context_def ();
Context_def (Context_def const &);
};
Context_def ();
Context_def (Context_def const &);
};
Scheme_hash_table *properties_dict () const;
Context (Context const &src);
Scheme_hash_table *properties_dict () const;
Context (Context const &src);
- DECLARE_SMOBS (Context, dummy);
+ DECLARE_SMOBS (Context);
DECLARE_CLASSNAME(Context);
void terminate ();
DECLARE_CLASSNAME(Context);
void terminate ();
void register_as_listener (Dispatcher *dist);
void unregister_as_listener (Dispatcher *dist);
protected:
void register_as_listener (Dispatcher *dist);
void unregister_as_listener (Dispatcher *dist);
protected:
- DECLARE_SMOBS (Dispatcher,);
+ DECLARE_SMOBS (Dispatcher);
};
DECLARE_UNSMOB (Dispatcher, dispatcher);
};
DECLARE_UNSMOB (Dispatcher, dispatcher);
static int compare (Duration const &, Duration const &);
DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
static int compare (Duration const &, Duration const &);
DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
- DECLARE_SIMPLE_SMOBS (Duration,);
+ DECLARE_SIMPLE_SMOBS (Duration);
private:
/// Logarithm of the base duration.
private:
/// Logarithm of the base duration.
virtual Stencil get_ascii_char_stencil (size_t k) const;
virtual SCM sub_fonts () const;
virtual SCM font_file_name () const;
virtual Stencil get_ascii_char_stencil (size_t k) const;
virtual SCM sub_fonts () const;
virtual SCM font_file_name () const;
- DECLARE_SMOBS (Font_metric,);
+ DECLARE_SMOBS (Font_metric);
private:
/* No copying, no implicit copy constructor. */
private:
/* No copying, no implicit copy constructor. */
vector<Grob*> grobs_;
bool ordered_;
vector<Grob*> grobs_;
bool ordered_;
- DECLARE_SIMPLE_SMOBS (Grob_array,);
+ DECLARE_SIMPLE_SMOBS (Grob_array);
- DECLARE_SMOBS (Grob, foo);
DECLARE_CLASSNAME(Grob);
void init ();
DECLARE_CLASSNAME(Grob);
void init ();
class Lily_lexer : public Includable_lexer
{
class Lily_lexer : public Includable_lexer
{
- DECLARE_SMOBS (Lily_lexer,);
+ DECLARE_SMOBS (Lily_lexer);
private:
int lookup_keyword (string);
private:
int lookup_keyword (string);
- DECLARE_SMOBS (Lily_parser,);
+ DECLARE_SMOBS (Lily_parser);
friend int yyparse (void *);
vector<Input> define_spots_;
friend int yyparse (void *);
vector<Input> define_spots_;
bool operator == (Listener const &other) const
{ return target_ == other.target_ && type_ == other.type_; }
bool operator == (Listener const &other) const
{ return target_ == other.target_ && type_ == other.type_; }
- DECLARE_SIMPLE_SMOBS (Listener,);
+ DECLARE_SIMPLE_SMOBS (Listener);
};
DECLARE_UNSMOB (Listener, listener);
};
DECLARE_UNSMOB (Listener, listener);
- DECLARE_SIMPLE_SMOBS (Moment,);
+ DECLARE_SIMPLE_SMOBS (Moment);
public:
Moment ();
Moment (int m);
public:
Moment ();
Moment (int m);
Moment start_mom_;
DECLARE_CLASSNAME(Music_iterator);
Moment start_mom_;
DECLARE_CLASSNAME(Music_iterator);
- DECLARE_SMOBS (Music_iterator, dummy);
+ DECLARE_SMOBS (Music_iterator);
Music_iterator (Music_iterator const &);
public:
Music_iterator (Music_iterator const &);
public:
- DECLARE_SMOBS (Music_output, foo);
+ DECLARE_SMOBS (Music_output);
DECLARE_CLASSNAME(Music_output);
protected:
Music_output ();
DECLARE_CLASSNAME(Music_output);
protected:
Music_output ();
SCM key_serial (int);
SCM serialize_key (Object_key const *);
SCM key_serial (int);
SCM serialize_key (Object_key const *);
- DECLARE_SMOBS (Object_key_dumper,);
+ DECLARE_SMOBS (Object_key_dumper);
public:
Object_key_dumper ();
SCM get_file_contents () const;
public:
Object_key_dumper ();
SCM get_file_contents () const;
struct Object_key_undumper
{
struct Object_key_undumper
{
- DECLARE_SMOBS (Object_key_undumper,);
+ DECLARE_SMOBS (Object_key_undumper);
Int_to_key_map keys_;
public:
void parse_contents (SCM);
Int_to_key_map keys_;
public:
void parse_contents (SCM);
- DECLARE_SMOBS (Object_key,);
+ DECLARE_SMOBS (Object_key);
protected:
Object_key ();
protected:
Object_key ();
public:
VIRTUAL_COPY_CONSTRUCTOR (Output_def, Output_def);
public:
VIRTUAL_COPY_CONSTRUCTOR (Output_def, Output_def);
- DECLARE_SMOBS (Output_def, );
+ DECLARE_SMOBS (Output_def);
- DECLARE_SMOBS (Paper_book,);
+ DECLARE_SMOBS (Paper_book);
SCM systems_;
SCM pages_;
SCM systems_;
SCM pages_;
- DECLARE_SMOBS (Paper_outputter,);
+ DECLARE_SMOBS (Paper_outputter);
public:
SCM file () const;
public:
SCM file () const;
vector<int> step_semitones_;
Scale ();
Scale (Scale const&);
vector<int> step_semitones_;
Scale ();
Scale (Scale const&);
string to_string () const;
DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
string to_string () const;
DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
- DECLARE_SIMPLE_SMOBS (Pitch,);
+ DECLARE_SIMPLE_SMOBS (Pitch);
DECLARE_CLASSNAME(Prob);
void init_vars ();
DECLARE_CLASSNAME(Prob);
void init_vars ();
Scheme_listener (SCM callback);
DECLARE_LISTENER (call);
protected:
Scheme_listener (SCM callback);
DECLARE_LISTENER (call);
protected:
- DECLARE_SMOBS (Scheme_listener,);
+ DECLARE_SMOBS (Scheme_listener);
private:
SCM callback_;
};
private:
SCM callback_;
};
SCM hash_tab_;
unsigned elt_count_;
SCM hash_tab_;
unsigned elt_count_;
- DECLARE_SMOBS (Scheme_hash_table, foo);
+ DECLARE_SMOBS (Scheme_hash_table);
};
#endif /* SCM_HASH_HH */
};
#endif /* SCM_HASH_HH */
- DECLARE_SMOBS (Score, foo);
SCM music_;
SCM input_location_;
SCM music_;
SCM input_location_;
Real force () const;
bool fits () const;
Real force () const;
bool fits () const;
- DECLARE_SIMPLE_SMOBS (Simple_spacer,);
+ DECLARE_SIMPLE_SMOBS (Simple_spacer);
private:
Real expand_line ();
private:
Real expand_line ();
SCM smobbed_copy ().
Simple smobs are created by adding the
SCM smobbed_copy ().
Simple smobs are created by adding the
- DECLARE_SIMPLE_SMOBS(Classname, ) to the declaration
+ DECLARE_SIMPLE_SMOBS(Classname) to the declaration
2. Complex smobs are objects that have an identity. These objects
carry this identity in the form of a self_scm () method, which is a
2. Complex smobs are objects that have an identity. These objects
carry this identity in the form of a self_scm () method, which is a
list = scm_cons (p->self_scm (), list);
scm_gc_unprotect_object (p->self_scm ());
list = scm_cons (p->self_scm (), list);
scm_gc_unprotect_object (p->self_scm ());
- Complex smobs are made with DECLARE_SMOBS (Classname, ) in the class
+ Complex smobs are made with DECLARE_SMOBS (Classname) in the class
declaration.
CALLING INTERFACE
declaration.
CALLING INTERFACE
from file "ly-smobs.icc"
*/
from file "ly-smobs.icc"
*/
-#define DECLARE_SIMPLE_SMOBS(CL, dummy) \
+#define DECLARE_SIMPLE_SMOBS(CL) \
public: \
SCM smobbed_copy () const; \
DECLARE_BASE_SMOBS (CL)
public: \
SCM smobbed_copy () const; \
DECLARE_BASE_SMOBS (CL)
static void init_smobs (); \
private:
static void init_smobs (); \
private:
-#define DECLARE_SMOBS(CL, dummy) \
+#define DECLARE_SMOBS(CL) \
DECLARE_BASE_SMOBS (CL) \
protected: \
virtual ~CL (); \
DECLARE_BASE_SMOBS (CL) \
protected: \
virtual ~CL (); \
void init_port ();
void init ();
void init_port ();
void init ();
- DECLARE_SMOBS(Source_file, bla);
+ DECLARE_SMOBS (Source_file);
public:
Source_file (string fn);
Source_file (string, string);
public:
Source_file (string fn);
Source_file (string, string);
bool expand_only_b_;
Real inverse_strength_;
bool expand_only_b_;
Real inverse_strength_;
- DECLARE_SIMPLE_SMOBS (Spring_smob, dummy);
+ DECLARE_SIMPLE_SMOBS (Spring_smob);
public:
Spring_smob ();
};
public:
Spring_smob ();
};
- DECLARE_SIMPLE_SMOBS (Stencil,);
+ DECLARE_SIMPLE_SMOBS (Stencil);
public:
Stencil (Box, SCM s);
Stencil ();
public:
Stencil (Box, SCM s);
Stencil ();
SCM static create (SCM trans_list,
SCM iface_list, Direction);
SCM static create (SCM trans_list,
SCM iface_list, Direction);
- DECLARE_SIMPLE_SMOBS (Engraver_dispatch_list,);
+ DECLARE_SIMPLE_SMOBS (Engraver_dispatch_list);
};
#endif /* TRANSLATOR_DISPATCH_LIST_HH */
};
#endif /* TRANSLATOR_DISPATCH_LIST_HH */
public:
VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Translator_group);
public:
VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Translator_group);
- DECLARE_SMOBS (Translator_group, dummy);
+ DECLARE_SMOBS (Translator_group);
public:
virtual void connect_to_context (Context *c);
public:
virtual void connect_to_context (Context *c);
Translator_group *get_translator_group (SCM sym);
#define foobar
Translator_group *get_translator_group (SCM sym);
#define foobar
-#define ADD_TRANSLATOR_GROUP(classname, desc, grobs, accepted, read, write) foobar
+#define ADD_TRANSLATOR_GROUP(classname, desc, grobs, read, write) foobar
DECLARE_UNSMOB (Translator_group, translator_group);
DECLARE_UNSMOB (Translator_group, translator_group);
Global_context *get_global_context () const;
TRANSLATOR_DECLARATIONS (Translator);
Global_context *get_global_context () const;
TRANSLATOR_DECLARATIONS (Translator);
- DECLARE_SMOBS (Translator, dummy);
+ DECLARE_SMOBS (Translator);
protected: // should be private.
Context *daddy_context_;
protected: // should be private.
Context *daddy_context_;
} \
ADD_GLOBAL_CTOR (_ ## T ## _adder);
} \
ADD_GLOBAL_CTOR (_ ## T ## _adder);
-#define ADD_TRANSLATOR(classname, desc, grobs, accepted, read, write) \
+#define ADD_TRANSLATOR(classname, desc, grobs, read, write) \
Drul_array< vector<Acknowledge_information> > classname::acknowledge_static_array_drul_; \
IMPLEMENT_FETCH_PRECOMPUTABLE_METHODS (classname); \
ADD_THIS_TRANSLATOR (classname); \
Drul_array< vector<Acknowledge_information> > classname::acknowledge_static_array_drul_; \
IMPLEMENT_FETCH_PRECOMPUTABLE_METHODS (classname); \
ADD_THIS_TRANSLATOR (classname); \
Tweak_map tweaks_;
Object_key_undumper *undumper_;
Tweak_map tweaks_;
Object_key_undumper *undumper_;
- DECLARE_SMOBS (Tweak_registry,);
+ DECLARE_SMOBS (Tweak_registry);
public:
Tweak_registry ();
public:
Tweak_registry ();
/* create */
"InstrumentName ",
/* create */
"InstrumentName ",
/* read */
"currentCommandColumn "
"shortInstrumentName "
/* read */
"currentCommandColumn "
"shortInstrumentName "
"instrumentCueName",
"");
"instrumentCueName",
"");
ADD_TRANSLATOR (Key_engraver,
/* doc */ "",
/* create */ "KeySignature",
ADD_TRANSLATOR (Key_engraver,
/* doc */ "",
/* create */ "KeySignature",
- /* accept */ "key-change-event",
/* read */
"createKeyOnClefChange "
/* read */
"createKeyOnClefChange "
ADD_TRANSLATOR (Key_performer,
"", "",
ADD_TRANSLATOR (Key_performer,
"", "",
/* create */
"LaissezVibrerTie "
"LaissezVibrerTieColumn",
/* create */
"LaissezVibrerTie "
"LaissezVibrerTieColumn",
-
- /* accept */ "laissez-vibrer-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Ledger_line_engraver,
"Creates the spanner to draw ledger lines, and notices objects that need ledger lines",
/* create */ "LedgerLineSpanner",
ADD_TRANSLATOR (Ledger_line_engraver,
"Creates the spanner to draw ledger lines, and notices objects that need ledger lines",
/* create */ "LedgerLineSpanner",
/* read */ "",
/* write */ "")
/* read */ "",
/* write */ "")
ADD_TRANSLATOR (Ligature_bracket_engraver,
/* doc */ "Handles Ligature_events by engraving Ligature brackets.",
/* create */ "TupletBracket",
ADD_TRANSLATOR (Ligature_bracket_engraver,
/* doc */ "Handles Ligature_events by engraving Ligature brackets.",
/* create */ "TupletBracket",
- /* accept */ "ligature-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Lyric_engraver,
/* doc */ "",
/* create */ "LyricText",
ADD_TRANSLATOR (Lyric_engraver,
/* doc */ "",
/* create */ "LyricText",
- /* accept */ "lyric-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
events_.push_back (event);
}
events_.push_back (event);
}
-ADD_TRANSLATOR (Lyric_performer, "", "", "lyric-event",
+ADD_TRANSLATOR (Lyric_performer, "", "",
"end up on the same Y-location",
/* create */ "RehearsalMark",
"end up on the same Y-location",
/* create */ "RehearsalMark",
- /* accept */ "mark-event",
/* read */
"markFormatter "
"rehearsalMark "
/* read */
"markFormatter "
"rehearsalMark "
"Creates MeasureGrouping to indicate beat subdivision.",
/* create */
"MeasureGrouping",
"Creates MeasureGrouping to indicate beat subdivision.",
/* create */
"MeasureGrouping",
/* read */
"beatLength "
"currentMusicalColumn "
/* read */
"beatLength "
"currentMusicalColumn "
ADD_TRANSLATOR (Melisma_translator,
/* doc */ "This translator collects melisma information about ties, beams, and user settings (@code{melismaBusy}, and signals it to the @code{\addlyrics} code. ",
/* create */ "",
ADD_TRANSLATOR (Melisma_translator,
/* doc */ "This translator collects melisma information about ties, beams, and user settings (@code{melismaBusy}, and signals it to the @code{\addlyrics} code. ",
/* create */ "",
/* read */
"beamMelismaBusy "
"melismaBusy "
/* read */
"beamMelismaBusy "
"melismaBusy "
"Create information for context dependent typesetting decisions. ",
"MelodyItem",
"",
"Create information for context dependent typesetting decisions. ",
"MelodyItem",
"",
ADD_TRANSLATOR (Mensural_ligature_engraver,
/* doc */ "Handles Mensural_ligature_events by glueing special ligature heads together.",
/* create */ "MensuralLigature",
ADD_TRANSLATOR (Mensural_ligature_engraver,
/* doc */ "Handles Mensural_ligature_events by glueing special ligature heads together.",
/* create */ "MensuralLigature",
- /* accept */ "ligature-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"The staves are taken from the @code{stavesFound} property, "
"which is maintained by @code{@ref{Staff_collecting_engraver}}. ",
/* create */ "MetronomeMark",
"The staves are taken from the @code{stavesFound} property, "
"which is maintained by @code{@ref{Staff_collecting_engraver}}. ",
/* create */ "MetronomeMark",
/* read */
"stavesFound "
/* read */
"stavesFound "
"MultiMeasureRestNumber "
"MultiMeasureRestText ",
"MultiMeasureRestNumber "
"MultiMeasureRestText ",
- /* accept */
- "multi-measure-rest-event "
- "multi-measure-text-event ",
-
/* read */
"internalBarNumber "
"restNumberThreshold "
/* read */
"internalBarNumber "
"restNumberThreshold "
"StringFinger "
"Script "
,
"StringFinger "
"Script "
,
/* read */
"fingeringOrientations "
/* read */
"fingeringOrientations "
/* doc */ "Engrave a line between two note heads, for example a glissando. If "
" followVoice is set, staff switches also generate a line.",
/* create */ "Glissando VoiceFollower",
/* doc */ "Engrave a line between two note heads, for example a glissando. If "
" followVoice is set, staff switches also generate a line.",
/* create */ "Glissando VoiceFollower",
- /* accept */ "glissando-event",
/* read */ "followVoice",
/* write */ "");
/* read */ "followVoice",
/* write */ "");
/* doc */ "Generate noteheads.",
/* create */
"NoteHead ",
/* doc */ "Generate noteheads.",
/* create */
"NoteHead ",
- /* accept */
- "note-event",
/* read */ "middleCPosition",
/* write */ "");
/* read */ "middleCPosition",
/* write */ "");
ADD_TRANSLATOR (Note_name_engraver,
/* doc */ "Print pitches as words.",
/* create */ "NoteName",
ADD_TRANSLATOR (Note_name_engraver,
/* doc */ "Print pitches as words.",
/* create */ "NoteName",
- /* accept */ "note-event",
/* read */ "printOctaveNames",
/* write */ "");
/* read */ "printOctaveNames",
/* write */ "");
}
ADD_TRANSLATOR (Note_performer, "", "",
}
ADD_TRANSLATOR (Note_performer, "", "",
"", "");
Note_performer::Note_performer ()
"", "");
Note_performer::Note_performer ()
ADD_TRANSLATOR (Ottava_spanner_engraver,
/* doc */ "Create a text spanner when the ottavation property changes..",
/* create */ "OttavaBracket",
ADD_TRANSLATOR (Ottava_spanner_engraver,
/* doc */ "Create a text spanner when the ottavation property changes..",
/* create */ "OttavaBracket",
/* read */ "ottavation",
/* write */ "");
/* read */ "ottavation",
/* write */ "");
- /* accept */
- "apply-output-event",
-
ADD_TRANSLATOR (Page_turn_engraver,
/* doc */ "Decide where page turns are allowed to go",
/* create */ "",
ADD_TRANSLATOR (Page_turn_engraver,
/* doc */ "Decide where page turns are allowed to go",
/* create */ "",
/* read */
"minimumPageTurnLength "
"minimumRepeatLengthForPageTurn ",
/* read */
"minimumPageTurnLength "
"minimumRepeatLengthForPageTurn ",
/* create */
"PaperColumn "
"NonMusicalPaperColumn",
/* create */
"PaperColumn "
"NonMusicalPaperColumn",
-
- /* accept */ "break-event",
/* read */
"forbidBreak "
,
/* read */
"forbidBreak "
,
/* create */
"ParenthesesItem ",
/* create */
"ParenthesesItem ",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* doc */ "Part combine engraver for orchestral scores: "
"Print markings a2, Solo, Solo II, and unisono ",
/* create */ "CombineTextScript",
/* doc */ "Part combine engraver for orchestral scores: "
"Print markings a2, Solo, Solo II, and unisono ",
/* create */ "CombineTextScript",
- /* accept */ "part-combine-event",
/* read */ "printPartCombineTexts soloText soloIIText "
"aDueText",
/* write */ "");
/* read */ "printPartCombineTexts soloText soloIIText "
"aDueText",
/* write */ "");
"DoublePercentRepeatCounter "
"PercentRepeat "
"PercentRepeatCounter ",
"DoublePercentRepeatCounter "
"PercentRepeat "
"PercentRepeatCounter ",
-
- /* accept */
- "percent-event ",
/* read */
"countPercentRepeats "
/* read */
"countPercentRepeats "
ADD_TRANSLATOR_GROUP (Performer_group,
/* doc */ "",
/* create */ "",
ADD_TRANSLATOR_GROUP (Performer_group,
/* doc */ "",
/* create */ "",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Phrasing_slur_engraver,
/* doc */ "Print phrasing slurs. Similar to @ref{Slur_engraver}",
/* create */ "PhrasingSlur",
ADD_TRANSLATOR (Phrasing_slur_engraver,
/* doc */ "Print phrasing slurs. Similar to @ref{Slur_engraver}",
/* create */ "PhrasingSlur",
- /* accept */ "phrasing-slur-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"UnaCordaPedal "
"UnaCordaPedalLineSpanner ",
"UnaCordaPedal "
"UnaCordaPedalLineSpanner ",
- /* accept */
- "pedal-event",
-
/* read */
"currentCommandColumn "
"pedalSostenutoStrings "
/* read */
"currentCommandColumn "
"pedalSostenutoStrings "
}
ADD_TRANSLATOR (Piano_pedal_performer, "", "",
}
ADD_TRANSLATOR (Piano_pedal_performer, "", "",
"demonstrating the rhythm of a melody.",
/* create */ "",
"demonstrating the rhythm of a melody.",
/* create */ "",
/* read */ "squashedPosition",
/* write */ "");
/* read */ "squashedPosition",
/* write */ "");
"TrillPitchAccidental "
"TrillPitchGroup ",
"TrillPitchAccidental "
"TrillPitchGroup ",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"for this context. Calls the procedure "
"in @code{recordEventSequence} when finished.",
"",
"for this context. Calls the procedure "
"in @code{recordEventSequence} when finished.",
"",
"recordEventSequence",
"");
"recordEventSequence",
"");
/* doc */ "Acknowledge repeated music, and convert the contents of "
"repeatCommands ainto an appropriate setting for whichBar.",
/* create */ "",
/* doc */ "Acknowledge repeated music, and convert the contents of "
"repeatCommands ainto an appropriate setting for whichBar.",
/* create */ "",
/* read */ "repeatCommands whichBar",
/* write */ "");
/* read */ "repeatCommands whichBar",
/* write */ "");
/* create */
"RepeatTie "
"RepeatTieColumn ",
/* create */
"RepeatTie "
"RepeatTieColumn ",
-
- /* accept */ "repeat-tie-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Rest_collision_engraver,
/* doc */ "Handles collisions of rests.",
/* create */ "RestCollision",
ADD_TRANSLATOR (Rest_collision_engraver,
/* doc */ "Handles collisions of rests.",
/* create */ "RestCollision",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Rest_engraver,
/* doc */ "",
/* create */ "Rest ",
ADD_TRANSLATOR (Rest_engraver,
/* doc */ "",
/* create */ "Rest ",
- /* accept */ "rest-event",
/* read */ "middleCPosition",
/* write */ "");
/* read */ "middleCPosition",
/* write */ "");
ADD_TRANSLATOR (Rhythmic_column_engraver,
/* doc */ "Generates NoteColumn, an objects that groups stems, noteheads and rests.",
/* create */ "NoteColumn NoteSpacing",
ADD_TRANSLATOR (Rhythmic_column_engraver,
/* doc */ "Generates NoteColumn, an objects that groups stems, noteheads and rests.",
/* create */ "NoteColumn NoteSpacing",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"that there are no beams or notes that prevent a breakpoint.) ",
/* create */
"System ",
"that there are no beams or notes that prevent a breakpoint.) ",
/* create */
"System ",
/* read */
"currentMusicalColumn "
/* read */
"currentMusicalColumn "
ADD_TRANSLATOR_GROUP (Score_performer,
/* doc */ "",
/* create */ "",
ADD_TRANSLATOR_GROUP (Score_performer,
/* doc */ "",
/* create */ "",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Script_column_engraver,
/* doc */ "",
/* create */ "ScriptColumn",
ADD_TRANSLATOR (Script_column_engraver,
/* doc */ "",
/* create */ "ScriptColumn",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Script_engraver,
/* doc */ "Handles note scripted articulations.",
/* create */ "Script",
ADD_TRANSLATOR (Script_engraver,
/* doc */ "Handles note scripted articulations.",
/* create */ "Script",
- /* accept */ "script-event articulation-event",
/* read */ "scriptDefinitions",
/* write */ "");
/* read */ "scriptDefinitions",
/* write */ "");
ADD_TRANSLATOR (Script_row_engraver,
/* doc */ "Determine order in horizontal side position elements. ",
/* create */ "ScriptRow ",
ADD_TRANSLATOR (Script_row_engraver,
/* doc */ "Determine order in horizontal side position elements. ",
/* create */ "ScriptRow ",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"SeparationItem "
"SeparatingGroupSpanner "
"StaffSpacing",
"SeparationItem "
"SeparatingGroupSpanner "
"StaffSpacing",
/* read */ "createSpacing",
/* write */ "breakableSeparationItem");
/* read */ "createSpacing",
/* write */ "breakableSeparationItem");
ADD_TRANSLATOR (Slash_repeat_engraver,
/* doc */ "Make beat repeats.",
/* create */ "RepeatSlash",
ADD_TRANSLATOR (Slash_repeat_engraver,
/* doc */ "Make beat repeats.",
/* create */ "RepeatSlash",
- /* accept */ "percent-event",
/* read */ "measureLength",
/* write */ "");
/* read */ "measureLength",
/* write */ "");
ADD_TRANSLATOR (Slur_engraver,
/* doc */ "Build slur grobs from slur events",
/* create */ "Slur",
ADD_TRANSLATOR (Slur_engraver,
/* doc */ "Build slur grobs from slur events",
/* create */ "Slur",
- /* accept */ "slur-event",
/* read */ "slurMelismaBusy doubleSlurs",
/* write */ "");
/* read */ "slurMelismaBusy doubleSlurs",
/* write */ "");
ADD_TRANSLATOR (Slur_performer,
"", "",
ADD_TRANSLATOR (Slur_performer,
"", "",
"bookkeeping of shortest starting and playing notes ",
/* create */ "SpacingSpanner",
"bookkeeping of shortest starting and playing notes ",
/* create */ "SpacingSpanner",
- /* accept */
- "spacing-section-event ",
/* read */
"currentMusicalColumn "
"currentCommandColumn "
/* read */
"currentMusicalColumn "
"currentCommandColumn "
ADD_TRANSLATOR (Span_arpeggio_engraver,
/* doc */ "",
/* create */ "Arpeggio",
ADD_TRANSLATOR (Span_arpeggio_engraver,
/* doc */ "",
/* create */ "Arpeggio",
/* read */ "connectArpeggios",
/* write */ "");
/* read */ "connectArpeggios",
/* write */ "");
/* doc */ "This engraver makes cross-staff barlines: It catches all normal "
"bar lines, and draws a single span-bar across them.",
/* create */ "SpanBar",
/* doc */ "This engraver makes cross-staff barlines: It catches all normal "
"bar lines, and draws a single span-bar across them.",
/* create */ "SpanBar",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Span_dynamic_performer,
"", "",
ADD_TRANSLATOR (Span_dynamic_performer,
"", "",
- "crescendo-event decrescendo-event",
/* doc */ "Maintain the stavesFound variable",
/* create */ "",
/* doc */ "Maintain the stavesFound variable",
/* create */ "",
/* read */ "stavesFound",
/* write */ "stavesFound");
/* read */ "stavesFound",
/* write */ "stavesFound");
#include "translator.icc"
ADD_TRANSLATOR (Staff_performer, "", "",
#include "translator.icc"
ADD_TRANSLATOR (Staff_performer, "", "",
"", "");
Staff_performer::Staff_performer ()
"", "");
Staff_performer::Staff_performer ()
/* doc */ "Create the constellation of five (default) "
"staff lines.",
/* create */ "StaffSymbol",
/* doc */ "Create the constellation of five (default) "
"staff lines.",
/* create */ "StaffSymbol",
- /* accept */ "staff-span-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Stanza_number_align_engraver,
"This engraver ensures that stanza numbers are neatly aligned. ",
"",
ADD_TRANSLATOR (Stanza_number_align_engraver,
"This engraver ensures that stanza numbers are neatly aligned. ",
"",
ADD_TRANSLATOR (Stanza_number_engraver,
/* doc */ "",
/* create */ "StanzaNumber",
ADD_TRANSLATOR (Stanza_number_engraver,
/* doc */ "",
/* create */ "StanzaNumber",
/* read */ "stanza",
/* write */ "");
/* read */ "stanza",
/* write */ "");
/* create */
"Stem "
"StemTremolo ",
/* create */
"Stem "
"StemTremolo ",
-
- /* accept */
- "tremolo-event",
/* read */
"tremoloFlags "
/* read */
"tremoloFlags "
" swallows them all.",
/* create */ "",
" swallows them all.",
/* create */ "",
- /* accept */ "string-number-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* doc */ "This engraver swallows everything given to it silently. The purpose of "
"this is to prevent spurious \"event junked\" warnings.",
/* create */ "",
/* doc */ "This engraver swallows everything given to it silently. The purpose of "
"this is to prevent spurious \"event junked\" warnings.",
/* create */ "",
- /* accept */ "general-music",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Swallow_performer,
/* doc */ "",
/* create */ "",
ADD_TRANSLATOR (Swallow_performer,
/* doc */ "",
/* create */ "",
- /* accept */ "general-music",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"SystemStartBrace "
"SystemStartBracket "
"SystemStartBar",
"SystemStartBrace "
"SystemStartBracket "
"SystemStartBar",
/* read */
"systemStartDelimiter "
"systemStartDelimiterHierarchy "
/* read */
"systemStartDelimiter "
"systemStartDelimiterHierarchy "
- /* accept */
- "note-event "
- "string-number-event ",
-
/* read */
"middleCPosition "
"stringTunings "
/* read */
"middleCPosition "
"stringTunings "
"stringTunings for the number of lines. "
,
/* create */ "StaffSymbol",
"stringTunings for the number of lines. "
,
/* create */ "StaffSymbol",
- /* accept */ "staff-span-event",
/* read */ "stringTunings",
/* write */ "");
/* read */ "stringTunings",
/* write */ "");
}
ADD_TRANSLATOR (Tempo_performer, "", "",
}
ADD_TRANSLATOR (Tempo_performer, "", "",
"tempoWholesPerMinute ",
"");
"tempoWholesPerMinute ",
"");
ADD_TRANSLATOR (Text_engraver,
/* doc */ "Create text-scripts",
/* create */ "TextScript",
ADD_TRANSLATOR (Text_engraver,
/* doc */ "Create text-scripts",
/* create */ "TextScript",
- /* accept */ "text-script-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Text_spanner_engraver,
/* doc */ "Create text spanner from an event.",
/* create */ "TextSpanner",
ADD_TRANSLATOR (Text_spanner_engraver,
/* doc */ "Create text spanner from an event.",
/* create */ "TextSpanner",
- /* accept */ "text-span-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* create */
"Tie "
"TieColumn ",
/* create */
"Tie "
"TieColumn ",
-
- /* accept */ "tie-event",
/* read */ "tieWaitForNote",
/* write */ "tieMelismaBusy");
/* read */ "tieWaitForNote",
/* write */ "tieMelismaBusy");
ADD_TRANSLATOR (Tie_performer,
/* doc */ "Generate ties between noteheads of equal pitch.",
/* create */ "",
ADD_TRANSLATOR (Tie_performer,
/* doc */ "Generate ties between noteheads of equal pitch.",
/* create */ "",
- /* accept */ "tie-event",
/* read */ "tieMelismaBusy",
/* write */ "");
/* read */ "tieMelismaBusy",
/* write */ "");
ADD_TRANSLATOR (Time_signature_engraver,
/* doc */ "Create a TimeSignature whenever @code{timeSignatureFraction} changes",
/* create */ "TimeSignature",
ADD_TRANSLATOR (Time_signature_engraver,
/* doc */ "Create a TimeSignature whenever @code{timeSignatureFraction} changes",
/* create */ "TimeSignature",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
#include "translator.icc"
#include "translator.icc"
-ADD_TRANSLATOR (Time_signature_performer, "", "", "", "", "");
+ADD_TRANSLATOR (Time_signature_performer, "", "", "", "");
"@code{Staff}. "
"\n\nThis engraver adds the alias @code{Timing} to its containing context.",
"@code{Staff}. "
"\n\nThis engraver adds the alias @code{Timing} to its containing context.",
"internalBarNumber "
"currentBarNumber "
"internalBarNumber "
"currentBarNumber "
"Base class. Unused",
"",
"",
"Base class. Unused",
"",
"",
ADD_TRANSLATOR (Trill_spanner_engraver,
/* doc */ "Create trill spanner from an event.",
/* create */ "TrillSpanner",
ADD_TRANSLATOR (Trill_spanner_engraver,
/* doc */ "Create trill spanner from an event.",
/* create */ "TrillSpanner",
- /* accept */ "trill-span-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
/* create */
"TupletBracket "
"TupletNumber ",
/* create */
"TupletBracket "
"TupletNumber ",
- /* accept */ "tuplet-span-event",
/* read */
"tupletFullLength "
"tupletFullLengthNote ",
/* read */
"tupletFullLength "
"tupletFullLengthNote ",
/* doc */ "Read the @code{tweaks} property from the originating event, and set properties." ,
/* create */ "",
/* doc */ "Read the @code{tweaks} property from the originating event, and set properties." ,
/* create */ "",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
ADD_TRANSLATOR (Skip_event_swallow_translator,
"Swallow \\skip.",
"",
ADD_TRANSLATOR (Skip_event_swallow_translator,
"Swallow \\skip.",
"",
ADD_TRANSLATOR (Rest_swallow_translator,
"Swallow rest",
"",
ADD_TRANSLATOR (Rest_swallow_translator,
"Swallow rest",
"",
ADD_TRANSLATOR (Note_swallow_translator,
"Swallow notes",
"",
ADD_TRANSLATOR (Note_swallow_translator,
"Swallow notes",
"",
ADD_TRANSLATOR (Vaticana_ligature_engraver,
/* doc */ "Handles ligatures by glueing special ligature heads together.",
/* create */ "VaticanaLigature DotColumn",
ADD_TRANSLATOR (Vaticana_ligature_engraver,
/* doc */ "Handles ligatures by glueing special ligature heads together.",
/* create */ "VaticanaLigature DotColumn",
- /* accept */ "ligature-event",
/* read */ "",
/* write */ "");
/* read */ "",
/* write */ "");
"Catch groups (staffs, lyrics lines, etc.) and stack "
"them vertically.",
/* create */ "VerticalAlignment",
"Catch groups (staffs, lyrics lines, etc.) and stack "
"them vertically.",
/* create */ "VerticalAlignment",
/* read */ "alignAboveContext alignBelowContext",
/* write */ "");
/* read */ "alignAboveContext alignBelowContext",
/* write */ "");
ADD_TRANSLATOR (Vertically_spaced_contexts_engraver,
/* doc */ "",
/* create */ "",
ADD_TRANSLATOR (Vertically_spaced_contexts_engraver,
/* doc */ "",
/* create */ "",
/* read */ "verticallySpacedContexts",
/* write */ "verticallySpacedContexts");
/* read */ "verticallySpacedContexts",
/* write */ "verticallySpacedContexts");
ADD_TRANSLATOR (Volta_engraver,
/* doc */ "Make volta brackets.",
/* create */ "VoltaBracket",
ADD_TRANSLATOR (Volta_engraver,
/* doc */ "Make volta brackets.",
/* create */ "VoltaBracket",
/* read */ "repeatCommands voltaSpannerDuration stavesFound",
/* write */ "");
/* read */ "repeatCommands voltaSpannerDuration stavesFound",
/* write */ "");