Module: Musa::Neumalang::Neumalang::Parser::String 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 string values.

Parses string notation: "\"text\"".

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 string value structure.

Returns:

  • (Hash)

    string value with kind :value



857
858
859
860
# File 'lib/musa-dsl/neumalang/neumalang.rb', line 857

def value
  { kind: :value,
    value: capture(:everything_except_double_quote).value }.extend Musa::Neumas::Neuma
end