Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
func ParseString ¶
Parse accepts an input string and the list and types of valid fields and returns either a matcher expression if the query is valid, or else an error
func ParseTextLines ¶
type ParseError ¶
type ParseError struct { // The original query Input string // The position where the parsing fails Pos int // The error message Message string }
ParseError is returned if the input cannot be successfuly parsed
func (ParseError) Error ¶
func (e ParseError) Error() string
Click to show internal directories.
Click to hide internal directories.