Module: Musa::Neumalang::Neumalang::Parser::RawPackedVector 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 raw packed vector data.

Extracts key-value pairs from packed vector notation.

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 PackedV hash.

Returns:

  • (Hash)

    PackedV extended hash



521
522
523
# File 'lib/musa-dsl/neumalang/neumalang.rb', line 521

def value
  captures(:key_value).collect(&:value).to_h.extend(Musa::Datasets::PackedV)
end