#include "varray.hh"
#include "scalar.hh"
+/// what kind of command?
enum Commandcode {
NOP,
INTERPRET,
};
/// set a nonrythmical symbol
-struct Command {
- Commandcode code;
-
- /// analogous to argv[]
- Array<Scalar> args;
-
- ///
- int priority;
- /** in what order relative to other TYPESET commands (eg, bar
- should precede meter). Highest priority first. */
-
- /****************/
-
- Command();
-// Command(Moment w);
- bool isbreak()const;
- void print() const;
-};
/**
A nonrhythmical "thing" in a staff is called a "command".
*/
+struct Command {
+ Commandcode code;
+
+ /// analogous to argv[]
+ Array<Scalar> args;
+
+
+ /** in what order relative to other TYPESET commands (eg, bar
+ should precede meter). Highest priority first. */
+ int priority;
+
+ /* *************** */
+
+ Command();
+ bool isbreak()const;
+ void print() const;
+};
#endif