sys::Obj syntax::SyntaxDoc
SyntaxDoc models a full document as a series of SyntaxLines.
Void eachLine(|SyntaxLine| f)
Iterate each line of the document.
static SyntaxDoc parse(SyntaxRules rules, InStream in)
Parse an input stream into a document using given rules. The input stream is guaranteed to be closed.
SyntaxRules rules { private set }
Rules used to parse this document.
syntax 1.0.82∙26-Jun-2025 Thu 13:18:42 EDT