BaseConstructor

abstract class BaseConstructor(settings: LoadSettings)(source)

Base code

Inheritors

Constructors

Link copied to clipboard
constructor(settings: LoadSettings)

Functions

Link copied to clipboard
fun construct(node: Node): Any?

Construct complete YAML document. Call the second step in case of recursive structures. At the end cleans all the state.

Link copied to clipboard
fun constructSingleDocument(optionalNode: Node?): Any?

Ensure that the stream contains a single document and construct it