Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SimpleTokens = [...]Token{ STRING, INTEGER, STRING_LITERAL, CHILD, BRACKET_LEFT, BRACKET_RIGHT, ROOT, }
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token int
Token represents a lexical token in a JSONPath expression.
type Tokenizer ¶
type Tokenizer struct {
// contains filtered or unexported fields
}
Tokenizer represents a JSONPath tokenizer.
func NewTokenizer ¶
NewTokenizer creates a new JSONPath tokenizer for the given input string.
func (Tokenizer) ErrorString ¶
When there's an error in the tokenizer, this helps represent it.
func (Tokenizer) ErrorTokenString ¶
When there's an error
Click to show internal directories.
Click to hide internal directories.