toHTML

Writes a parse tree to a html file.

  1. void toHTML(const ref ParseTree p, File file)
    void
    toHTML
    (
    Expand e = Expand.no
    Details...
    )
    (
    const ref ParseTree p
    ,
    File file
    )
  2. void toHTML(const ref ParseTree p, string filename)

Parameters

e

Defines if the tree is expanded.

Details

Defines the details, as a list of strings, that are expanded when e is equal to Expand.ifMatch, and not expanded when e is equal to Expand.ifNotMatch. When no details are passed, each node is expanded.

p
Type: ParseTree

The ParseTree to represent.

file
Type: File

The file where to write the tree.

Meta