interface PrintContext { EOL: string; directed: boolean; join(children,
separator): Iterable<string>; print(ast): Iterable<string>; printChildren(children): Iterable<string>; } Properties
directed
directed: boolean
Methods
join
- join(children, separator): Iterable<string>
Parameters
- children: ASTNode[]
- separator: string
Returns Iterable<string>
print
- print(ast): Iterable<string>
Returns Iterable<string>
printChildren
- printChildren(children): Iterable<string>
Returns Iterable<string>
PrintContext interface provides an interface for printing an ASTNode with a set of options.