Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldString ¶
Types ¶
type ExprNode ¶
func (*ExprNode) FriendlyString ¶
type Pos ¶
type Pos struct { // Line is a 1-based integer representing the line on which the token was. // found. Line int `json:"line"` // Col is a 1-based integer representing the rune offset of the token on the line. Col int `json:"column"` // Offset is a 0-based offset of the token in the entire input text. Offset int `json:"offset"` // Len is the length of the token from Offset, in runes Len int `json:"length"` }
Pos represents the position of a node or token in the text.
func NoPosition ¶
func NoPosition() Pos
NoPosition returns a position with a negative offset for messages and errors that are not attached to a query feature.
type SubdocNode ¶
func (*SubdocNode) IsNode ¶
func (s *SubdocNode) IsNode()
func (*SubdocNode) String ¶
func (s *SubdocNode) String() string
Click to show internal directories.
Click to hide internal directories.