Versions in this module Expand all Collapse all v0 v0.2.0 May 9, 2024 v0.1.1 Nov 16, 2022 Changes in this version + type Document struct + func NewDocument(t NewDocumentT) *Document + func (_m *Document) Check() error + func (_m *Document) Content() bytes.Bytes + func (_m *Document) Len() (uint, error) + func (_m *Document) NextLexeme() (lexeme.LexEvent, error) + type NewDocumentT interface + Cleanup func(func()) + type NewRuleT interface + Cleanup func(func()) + type Rule struct + func NewRule(t NewRuleT) *Rule + func (_m *Rule) Check() error + func (_m *Rule) GetAST() (jschema.ASTNode, error) + func (_m *Rule) Len() (uint, error)