Documentation
¶
Overview ¶
The token package contains constants for YAML token types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Position ¶
type Position struct {
Index int // Index is a 0-based offset from the start of the file.
Line int // Line is a 1-based line count.
Column int // Column is a 1-based column number. After a newline, the Column will be 1.
}
A Position refers to a location in a YAML document.
Click to show internal directories.
Click to hide internal directories.