DirectiveToken

class DirectiveToken(val value: DirectiveToken.TokenValue?, val startMark: Mark?, val endMark: Mark?) : Token

Constructors

Link copied to clipboard
constructor(value: DirectiveToken.TokenValue?, startMark: Mark?, endMark: Mark?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class TagDirective(val handle: String, val prefix: String) : DirectiveToken.TokenValue
Link copied to clipboard
sealed interface TokenValue
Link copied to clipboard
data class YamlDirective(val major: Int, val minor: Int) : DirectiveToken.TokenValue

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tokenId: Token.ID

For error reporting.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String