Class: Gabc::ScoreNode
- Inherits:
-
SyntaxNode
- Object
- Gabc::ScoreNode
- Defined in:
- lib/lygre/gabcsemantics.rb
Overview
root node
Instance Method Summary collapse
-
#create_score ⇒ Object
creates and returns a GabcScore from the syntax tree.
Instance Method Details
#create_score ⇒ Object
creates and returns a GabcScore from the syntax tree
27 28 29 30 31 32 |
# File 'lib/lygre/gabcsemantics.rb', line 27 def create_score return GabcScore.new do |s| s.header = header.to_hash s.music = body.create_music end end |