Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyExpression = errors.New("multiple expressions detected") ErrEmptyFuncCall = errors.New("empty function call") ErrEmptyParenthesis = errors.New("empty parenthesis") ErrInvalidArgument = errors.New("invalid argument") ErrInvalidFuncName = errors.New("invalid function name") ErrMissingArgument = errors.New("missing argument") ErrMissingOperator = errors.New("missing operator") ErrUnexpectedComma = errors.New("unexpected comma") ErrUnexpectedOperator = errors.New("unexpected operator") ErrUnexpectedParenthesis = errors.New("unexpected parenthesis") )
View Source
var ErrTokenizer = errors.New("unexpected tokenizer error")
View Source
var ErrUnclosedString = errors.New("missing quotes to close of a string")
Functions ¶
This section is empty.
Types ¶
type ArgsListExpr ¶
type BinaryExpr ¶
type BinaryExpr interface { Expr Operands() *BinaryOperands }
type BinaryOperands ¶
type ExprArgsList ¶
type ExprArgsList struct {
// contains filtered or unexported fields
}
func (*ExprArgsList) Args ¶
func (e *ExprArgsList) Args() []Expr
func (*ExprArgsList) Pos ¶
func (e *ExprArgsList) Pos() Position
func (*ExprArgsList) String ¶
func (e *ExprArgsList) String() string
type ExprDelta ¶
type ExprDelta struct { BinaryOperands // contains filtered or unexported fields }
func (*ExprDelta) Operands ¶
func (e *ExprDelta) Operands() *BinaryOperands
type ExprFunc ¶
type ExprFunc struct {
// contains filtered or unexported fields
}
func (*ExprFunc) Args ¶
func (e *ExprFunc) Args() ArgsListExpr
type ExprInteger ¶
type ExprInteger struct {
// contains filtered or unexported fields
}
func (*ExprInteger) Pos ¶
func (e *ExprInteger) Pos() Position
func (*ExprInteger) String ¶
func (e *ExprInteger) String() string
func (*ExprInteger) Value ¶
func (e *ExprInteger) Value() int
type ExprIntersect ¶
type ExprIntersect struct { BinaryOperands // contains filtered or unexported fields }
func (*ExprIntersect) Operands ¶
func (e *ExprIntersect) Operands() *BinaryOperands
func (*ExprIntersect) Pos ¶
func (e *ExprIntersect) Pos() Position
func (*ExprIntersect) String ¶
func (e *ExprIntersect) String() string
type ExprString ¶
type ExprString struct {
// contains filtered or unexported fields
}
func (*ExprString) Pos ¶
func (e *ExprString) Pos() Position
func (*ExprString) String ¶
func (e *ExprString) String() string
func (*ExprString) Value ¶
func (e *ExprString) Value() string
type ExprSubtract ¶
type ExprSubtract struct { BinaryOperands // contains filtered or unexported fields }
func (*ExprSubtract) Operands ¶
func (e *ExprSubtract) Operands() *BinaryOperands
func (*ExprSubtract) Pos ¶
func (e *ExprSubtract) Pos() Position
func (*ExprSubtract) String ¶
func (e *ExprSubtract) String() string
type ExprUnion ¶
type ExprUnion struct { BinaryOperands // contains filtered or unexported fields }
func (*ExprUnion) Operands ¶
func (e *ExprUnion) Operands() *BinaryOperands
type FuncExpr ¶
type FuncExpr interface { Expr Name() string Args() ArgsListExpr }
Click to show internal directories.
Click to hide internal directories.