Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression interface {
String() string
}
func ParseQuery ¶
func ParseQuery(input string) (expr Expression, err error)
type InfixExpression ¶
type InfixExpression struct { Operator TokenType Left Expression Right Expression }
func (InfixExpression) String ¶
func (ie InfixExpression) String() string
type PrefixExpression ¶
type PrefixExpression struct { Operator TokenType Right Expression }
func (PrefixExpression) String ¶
func (pe PrefixExpression) String() string
type RegexpLiteral ¶ added in v0.4.0
func (RegexpLiteral) MarshalBinary ¶ added in v0.4.0
func (rl RegexpLiteral) MarshalBinary() ([]byte, error)
func (RegexpLiteral) String ¶ added in v0.7.0
func (rl RegexpLiteral) String() string
func (*RegexpLiteral) UnmarshalBinary ¶ added in v0.4.0
func (rl *RegexpLiteral) UnmarshalBinary(data []byte) error
type StringLiteral ¶
type StringLiteral struct {
Value string
}
func (StringLiteral) String ¶
func (sl StringLiteral) String() string
Click to show internal directories.
Click to hide internal directories.