Sha256: 0c0d828847ad3ba0a6d075cae7cc1f280869c281222cdbe543022c17c10c5df5
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
# frozen_string_literal: true require "parslet" require_relative "path/version" require_relative "path/parser" require_relative "path/transformer" require_relative "path/element_path" require_relative "path/path_segment" module Lutaml module Path class ParseError < StandardError; end def self.parse(input) tree = Parser.new.parse(input) Transformer.new.apply(tree) rescue Parslet::ParseFailed => e raise ParseError, e.message end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lutaml-path-0.1.0 | lib/lutaml/path.rb |