Properties
_previousNode
_previousNode: Record<string, T> = {} writer
writer: Writer = ...
Accessors
previousNode
- set previousNode(node): void
Returns void
Methods
Abstract
_generate
- _generate(node, printNewLine?): void
Parameters
- node: T
Optional
printNewLine: boolean
Returns void
_getPreviousNode
- _getPreviousNode(node): T
Returns T
_getPreviousNodePosition
- _getPreviousNodePosition(node): Position
_printLineUntilPreviousNode
- _printLineUntilPreviousNode(node, previousNode?): void
Parameters
- node: T
- previousNode: T = ...
Returns void
print
- print(): string
Returns string