6 #include "my-lily-lexer.hh"
10 #include "musical-request.hh"
11 #include "command-request.hh"
12 #include "music-list.hh"
13 #include "identifier.hh"
15 #include "text-def.hh"
16 #include "parseconstruct.hh"
24 get_scriptdef (char c
)
29 case '^' : s
= "marcato";
31 case '+' : s
= "stopped";
33 case '-' : s
= "tenuto";
35 case '|': s
= "staccatissimo";
39 case '>' : s
= "accent";
43 case '.' : s
= "staccato";
48 return new String (s
);
52 get_script_req (int d
, General_script_def
*def
)
54 Musical_script_req
* script_req_p
= new Musical_script_req
;
55 script_req_p
->dir_
=(Direction
)d
;
56 script_req_p
->scriptdef_p_
=def
;
65 get_grouping_req (Array
<int> i_arr
)
67 Measure_grouping_req
* mr_p
= new Measure_grouping_req
;
68 for (int i
=0; i
<i_arr
.size();)
70 mr_p
->elt_length_arr_
.push (Moment (1, i_arr
[i
++]));
71 mr_p
->beat_i_arr_
.push (i_arr
[i
++]);