type
fields
rules |
Rules used to parse this document. |
---|
methods
eachLine |
Iterate each line of the document. |
---|---|
parse |
Parse an input stream into a document using given rules. |
Slot Details
eachLine
src
Void eachLine(|SyntaxLine| f)
Iterate each line of the document.
parse
src
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.
rules
src
SyntaxRules rules { private set }
Rules used to parse this document.