Sha256: 46fb0b0cb8872b03d91218bc840feb4522cd7945b356316d0c04241ae222b294

Contents?: true

Size: 273 Bytes

Versions: 7

Compression:

Stored size: 273 Bytes

Contents

module Qlang
  module Parser
    module ListParser
      include Base
      def execute(lexed)
        arys = lexed.split(/ *, */).map { |e| e.split(/ *: */).map{|e2|e2.delete(' ')} }
        ListApi.execute(arys)
      end
      module_function :execute
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
qlang-0.0.27182123 lib/qlang/parser/list_parser.rb
qlang-0.0.27182122 lib/qlang/parser/list_parser.rb
qlang-0.0.27182121 lib/qlang/parser/list_parser.rb
qlang-0.0.27182120 lib/qlang/parser/list_parser.rb
qlang-0.0.27182110 lib/qlang/parser/list_parser.rb
qlang-0.0.27182100 lib/qlang/parser/list_parser.rb
qlang-0.0.27182000 lib/qlang/parser/list_parser.rb