logo

class

fandoc::FandocParser

sys::Obj
  fandoc::FandocParser

FandocParser translate fandoc text into an in-memory representation of the document.

See docLib::Fandoc for usage.

Slots

errors

FandocErr[] errors

Source

main

static Void main()

Source

parse

Doc parse(Str filename, InStream in, Bool close := true)

Parse the document from the specified in stream into an in-memory tree structure. If close is true, the stream is guaranteed to be closed.

Source

parseStr

Doc parseStr(Str plaintext)

Parse a string into its in-memory document tree structure.

Source

silent

Bool silent := false

Source