Mark
class Mark @JvmOverloads constructor(val name: String, val index: Int, val line: Int, val column: Int, val codepoints: List<Int>, val pointer: Int = 0)(source)
Location of a problem in the YAML document. Its only use is producing nice error messages. Parser does not use it for any other purposes.
Parameters
name
the name of the data stream, to be used as identifier
index
the index from the beginning of the stream
line
line of the mark from beginning of the stream
column
column of the mark from beginning of the line
codepoints
the data
pointer
the index of the character in codepoints that will be marked
Constructors
Functions
Link copied to clipboard
Create readable YAML snippet of codepoints, with a caret ^
pointing at pointer.