toHTML

Writes a parse tree to a html file.

  1. void toHTML(ParseTree p, File file)
    void
    toHTML
    (
    Details...
    )
    (
    const ref ParseTree p
    ,
    File file
    )
  2. void toHTML(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 ParseTree

The ParseTree to represent.

file File

The file where to write the tree.

Meta