Module: Musa::Neumalang::Neumalang::Parser::Number 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 numeric values.
Parses numbers: 42, 3.14, 1/2.
Instance Method Summary collapse
-
#value ⇒ Hash
private
Builds number value structure.
Instance Method Details
#value ⇒ Hash
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 number value structure.
872 873 874 875 |
# File 'lib/musa-dsl/neumalang/neumalang.rb', line 872 def value { kind: :value, value: capture(:raw_number).value }.extend Musa::Neumas::Neuma end |