Module: Stretto::Tokens::WithNoteStringToken
- Included in:
- ChordToken, NoteToken
- Defined in:
- lib/stretto/grammar/tokens/note_string_token.rb
Overview
Include this module to include note string functionality, that is, to provide key, accidental, octave and/or pitch
Instance Method Summary (collapse)
Instance Method Details
- (String?) accidental
88 89 90 |
# File 'lib/stretto/grammar/tokens/note_string_token.rb', line 88 def accidental note_string.accidental end |
- (String) key
94 95 96 |
# File 'lib/stretto/grammar/tokens/note_string_token.rb', line 94 def key note_string.key end |
- (String?) octave
82 83 84 |
# File 'lib/stretto/grammar/tokens/note_string_token.rb', line 82 def octave note_string.octave end |
- (nil, Value) pitch
100 101 102 |
# File 'lib/stretto/grammar/tokens/note_string_token.rb', line 100 def pitch note_string.pitch end |