Class: HeadMusic::Notation::ABC::Parser::PendingNote

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#lengthObject (readonly, private)

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



40
41
42
# File 'lib/head_music/notation/abc/parser.rb', line 40

def length
  @length
end

#pitchObject (readonly, private)

Returns the value of attribute pitch

Returns:

  • (Object)

    the current value of pitch



40
41
42
# File 'lib/head_music/notation/abc/parser.rb', line 40

def pitch
  @pitch
end

#scaleObject (readonly, private)

Returns the value of attribute scale

Returns:

  • (Object)

    the current value of scale



40
41
42
# File 'lib/head_music/notation/abc/parser.rb', line 40

def scale
  @scale
end