Beispiel #1
0
 def p_rest_body__RESTNAME__positive_leaf_duration(self, p):
     """
     rest_body : RESTNAME positive_leaf_duration
     """
     p[0] = core.Rest(p[2])
Beispiel #2
0
 def p_rest_body__negative_leaf_duration(self, p):
     """
     rest_body : negative_leaf_duration
     """
     p[0] = core.Rest(p[1])
Beispiel #3
0
 def p_rest_body__RESTNAME(self, p):
     """
     rest_body : RESTNAME
     """
     p[0] = core.Rest(self._default_duration)