Module: Rng::ParseRnc

Defined in:
lib/rng/parse_rnc.rb

Overview

RNC Parser module Provides functionality to parse RELAX NG Compact Syntax (RNC) files

Class Method Summary collapse

Class Method Details

.parse(rnc_string) ⇒ Rng::Grammar

Parse RNC syntax and return an RNG schema object

Parameters:

  • rnc_string (String)

    The RNC content to parse

Returns:



11
12
13
14
15
16
17
18
# File 'lib/rng/parse_rnc.rb', line 11

def parse(rnc_string)
  # This is a placeholder implementation
  # The actual parsing logic would need to be implemented

  # For now, we delegate to RncParser which is our internal implementation
  # In the future, this could be expanded with additional functionality
  RncParser.parse(rnc_string)
end