PrintContext interface provides an interface for printing an ASTNode with a set of options.

interface PrintContext {
    EOL: string;
    directed: boolean;
    join(children, separator): Iterable<string>;
    print(ast): Iterable<string>;
    printChildren(children): Iterable<string>;
}

Properties

Methods

Properties

EOL: string
directed: boolean

Indicates if the AST should be printed in a directed graph.

Methods

Generated using TypeDoc