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

Inherits:
Data
  • Object
show all
Defined in:
lib/head_music/notation/abc/parser.rb

Overview

A note or chord whose placement is deferred until we know whether a broken-rhythm mark follows it. The pitches are computed eagerly so bar-line accidental resets cannot corrupt them.

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

#pitchesObject (readonly, private)

Returns the value of attribute pitches

Returns:

  • (Object)

    the current value of pitches



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

def pitches
  @pitches
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