Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMoreThanOneChild = newParserError("more than one child")
View Source
var ErrNoSuchLanguage = newParserError("no such language")
Functions ¶
func RegisterParser ¶
Types ¶
type ObjectOperand ¶
type ObjectOperand struct {
Properties string
}
func (*ObjectOperand) GetData ¶
func (o *ObjectOperand) GetData() (interface{}, error)
type Operation ¶
type Operation struct { Operator Operator `json:"operator"` Operands []Operand `json:"operands,omitempty"` }
func (*Operation) ReplaceOperands ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) GetDBQuery ¶
func (*Parser) GetDBQueryWithReplacement ¶
func (*Parser) GetOperation ¶
func (*Parser) ReplaceOperands ¶
type ParsingError ¶
type ParsingError struct {
// contains filtered or unexported fields
}
func (*ParsingError) Error ¶
func (e *ParsingError) Error() string
type SliceOperand ¶
type SliceOperand struct {
Slice []Operand
}
func (*SliceOperand) GetData ¶
func (s *SliceOperand) GetData() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.