Compose

expect class Compose(settings: LoadSettings)(source)

Compose input sources to Nodes.

See Processing Overview.

actual class Compose(settings: LoadSettings)(source)
actual class Compose(settings: LoadSettings)(source)
actual class Compose(settings: LoadSettings)(source)

Constructors

Link copied to clipboard
expect constructor(settings: LoadSettings)
actual constructor(settings: LoadSettings)
actual constructor(settings: LoadSettings)
actual constructor(settings: LoadSettings)

Functions

Link copied to clipboard
expect fun compose(string: String): Node?

Parse a YAML stream and produce Node

expect fun compose(source: Source): Node?

Parse a YAML stream and produce a single Node, if available in source.

actual fun compose(string: String): Node?
actual fun compose(source: Source): Node?
fun compose(inputStream: InputStream): Node?

Parse a YAML stream and produce a single Node, if available in reader.

fun compose(reader: Reader): Node?

Parse a YAML stream and produce a single Node, if available in reader.

actual fun compose(string: String): Node?
actual fun compose(source: Source): Node?
actual fun compose(string: String): Node?
actual fun compose(source: Source): Node?
Link copied to clipboard
expect fun composeAll(string: String): Iterable<Node>
expect fun composeAll(source: Source): Iterable<Node>

Parse all YAML documents in a stream and produce corresponding representation trees.

actual fun composeAll(string: String): Iterable<Node>
actual fun composeAll(source: Source): Iterable<Node>
fun composeAll(inputStream: InputStream): Iterable<Node>

Parse all YAML documents in a stream and produce corresponding representation trees.

actual fun composeAll(string: String): Iterable<Node>
actual fun composeAll(source: Source): Iterable<Node>
actual fun composeAll(string: String): Iterable<Node>
actual fun composeAll(source: Source): Iterable<Node>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect fun composeString(yaml: String): Node?
actual fun composeString(yaml: String): Node?
actual fun composeString(yaml: String): Node?
actual fun composeString(yaml: String): Node?