IndentationContext

constructor()(source)

Creates a new IndentationContext with empty indentation.


constructor(initialIndentation: List<TextElement>)(source)

Creates a new IndentationContext with the specified initial indentation. The provided list is copied to prevent external modifications.

Parameters

initialIndentation

the initial indentation elements (will be copied)