toHTML

Writes a parse tree to a html file.

  1. void toHTML(const ref ParseTree p, File file)
  2. void toHTML(const ref ParseTree p, string filename)
    void
    toHTML
    (
    Expand e = Expand.no
    Details...
    )
    (
    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.yes, and not exapnded when e is equal to Expand.invert. When no details are passed, each node is expanded.

p
Type: ParseTree

The ParseTree to represent.

filename
Type: string

The name of file where tree is written.

Meta