Module: Musa::Neumalang::Neumalang::Parser::AbsOctaveAttribute Private

Defined in:
lib/musa-dsl/neumalang/neumalang.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Semantic action for absolute octave attribute.

Parses absolute octave: "^2" (octave 2), used for setting specific octave.

Instance Method Summary collapse

Instance Method Details

#valueHash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Builds absolute octave structure.

Returns:

  • (Hash)

    abs_octave attribute



668
669
670
# File 'lib/musa-dsl/neumalang/neumalang.rb', line 668

def value
  { abs_octave: capture(:number).value }
end