Parse

expect class Parse(settings: LoadSettings)
actual class Parse(settings: LoadSettings)
actual class Parse(settings: LoadSettings)

Read the input stream and parse the content into events (opposite for Present or Emit)

Parameters

settings
  • configuration

actual class Parse(settings: LoadSettings)

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

Parse a YAML stream and produce parsing events.

Link copied to clipboard

Parse a YAML stream and produce parsing events. Since the encoding is already known the BOM must not be present (it will be parsed as content)

Link copied to clipboard
expect fun parseString(yaml: String): Iterable<Event>
actual fun parseString(yaml: String): Iterable<Event>

Parse a YAML stream and produce parsing events.

actual fun parseString(yaml: String): Iterable<Event>

Parse a YAML stream and produce parsing events.

actual fun parseString(yaml: String): Iterable<Event>

Parse a YAML stream and produce parsing events.