Junk

@Serializable
@SerialName(value = "Junk")
data class Junk(val content: String, val annotations: List<String> = emptyList()) : Entry(source)

Junk - content that could not be parsed as a valid entry.

The parser preserves junk content to enable round-tripping of files that contain non-Fluent content.

Constructors

Link copied to clipboard
constructor(content: String, annotations: List<String> = emptyList())

Properties

Link copied to clipboard

Parser annotations attached to the junk span (e.g. error kinds). Mirrors the upstream fluent-rs fixture shape; empty when the parser does not record any annotations.

Link copied to clipboard

The raw unparseable content