Class: Lutaml::Lml::Parser

Inherits:
Parslet::Parser
  • Object
show all
Includes:
Grammar::Full
Defined in:
lib/lutaml/lml/parser.rb

Constant Summary

Constants included from Grammar::Instances

Grammar::Instances::INSTANCE_KEYWORDS

Constants included from Grammar::Core

Grammar::Core::CORE_KEYWORDS

Class Method Summary collapse

Class Method Details

.parse(io) ⇒ Object



13
14
15
# File 'lib/lutaml/lml/parser.rb', line 13

def self.parse(io)
  Pipeline.call(io)
end

.parse_document(io) ⇒ Object



17
18
19
# File 'lib/lutaml/lml/parser.rb', line 17

def self.parse_document(io)
  Pipeline.call(io, resolve: false)
end