This interface provides options for converting an abstract syntax tree (AST) to a DOT representation.

interface PrintOptions {
    endOfLine?: EndOfLine;
    indentSize?: number;
    indentStyle?: IndentStyle;
}

Properties

endOfLine?: EndOfLine

The type of line ending to use when printing the AST.

Default

lf
indentSize?: number

The size of the indentation to use when printing the AST.

Default

2
indentStyle?: IndentStyle

The style of indentation to use when printing the AST.

Default

"space"

Generated using TypeDoc