Class: Lydown::Parsing::Root
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Lydown::Parsing::Root
- Includes:
- RootMethods
- Defined in:
- lib/lydown/parsing/nodes.rb
Direct Known Subclasses
Chord, Command, CommentContent, DurationValue, Lyrics, Note, Phrasing::BeamClose, Phrasing::BeamOpen, Phrasing::SlurClose, Phrasing::SlurOpen, Lydown::Parsing::Repeat::End, Lydown::Parsing::Repeat::Start, Lydown::Parsing::Repeat::Volta, Rest, Setting, ShortTie, Silence, SourceRef, StandAloneFigures, StreamIndex, Tie, TupletValue, VoiceSelector
Instance Method Summary collapse
-
#initialize(*args) ⇒ Root
constructor
A new instance of Root.
Methods included from RootMethods
#_to_stream, #add_event, #each_child, #event_hash, #to_stream
Constructor Details
#initialize(*args) ⇒ Root
Returns a new instance of Root.
60 61 62 63 64 65 |
# File 'lib/lydown/parsing/nodes.rb', line 60 def initialize(*args) super if $progress_bar $progress_bar.progress = interval.end end end |