Class: HeadMusic::Notation::ABC::BodyLexer::ChordNote
- Inherits:
-
Data
- Object
- Data
- HeadMusic::Notation::ABC::BodyLexer::ChordNote
- Defined in:
- lib/head_music/notation/abc/body_lexer.rb
Overview
One note inside a bracket chord. Each note may carry its own length; the parser enforces that they are uniform and multiplies the shared inner length with any outer length on the token (ABC 2.1 sec. 4.17).
Instance Attribute Summary collapse
-
#accidental ⇒ Object
readonly
Returns the value of attribute accidental.
-
#length ⇒ Object
readonly
Returns the value of attribute length.
-
#letter ⇒ Object
readonly
Returns the value of attribute letter.
-
#octave_marks ⇒ Object
readonly
Returns the value of attribute octave_marks.
Instance Attribute Details
#accidental ⇒ Object (readonly)
Returns the value of attribute accidental
30 31 32 |
# File 'lib/head_music/notation/abc/body_lexer.rb', line 30 def accidental @accidental end |
#length ⇒ Object (readonly)
Returns the value of attribute length
30 31 32 |
# File 'lib/head_music/notation/abc/body_lexer.rb', line 30 def length @length end |
#letter ⇒ Object (readonly)
Returns the value of attribute letter
30 31 32 |
# File 'lib/head_music/notation/abc/body_lexer.rb', line 30 def letter @letter end |
#octave_marks ⇒ Object (readonly)
Returns the value of attribute octave_marks
30 31 32 |
# File 'lib/head_music/notation/abc/body_lexer.rb', line 30 def octave_marks @octave_marks end |