Class: HeadMusic::Notation::ABC::Parser::PendingNote
- Inherits:
-
Data
- Object
- Data
- HeadMusic::Notation::ABC::Parser::PendingNote
- Defined in:
- lib/head_music/notation/abc/parser.rb
Overview
A note whose placement is deferred until we know whether a broken-rhythm mark follows it. The pitch is computed eagerly so bar-line accidental resets cannot corrupt it.
Instance Attribute Summary collapse
-
#length ⇒ Object
readonly
private
Returns the value of attribute length.
-
#pitch ⇒ Object
readonly
private
Returns the value of attribute pitch.
-
#scale ⇒ Object
readonly
private
Returns the value of attribute scale.
Instance Attribute Details
#length ⇒ Object (readonly, private)
Returns the value of attribute length
40 41 42 |
# File 'lib/head_music/notation/abc/parser.rb', line 40 def length @length end |
#pitch ⇒ Object (readonly, private)
Returns the value of attribute pitch
40 41 42 |
# File 'lib/head_music/notation/abc/parser.rb', line 40 def pitch @pitch end |
#scale ⇒ Object (readonly, private)
Returns the value of attribute scale
40 41 42 |
# File 'lib/head_music/notation/abc/parser.rb', line 40 def scale @scale end |