Versions in this module Expand all Collapse all v1 v1.0.0 Dec 29, 2023 v0 v0.9.0 Jun 17, 2023 Changes in this version + const Colon + type ErrCustom struct + S string + func (e ErrCustom) Error() string + type ErrInvalidCoerce struct + Err error + func (e ErrInvalidCoerce) Error() string + type Parser struct + Exp []byte + Tokenizer itertools.PeekableIterator[resultext.Result[Token, error]] type Token + Kind TokenKind + Len uint16 + Start uint32 v0.8.0 Jun 12, 2023 Changes in this version + var Coercions = syncext.NewRWMutex2(...) v0.7.0 May 31, 2023 v0.6.1 May 25, 2023 v0.6.0 Feb 6, 2023 v0.5.1 Oct 18, 2022 v0.5.0 Oct 13, 2022 v0.4.0 Jul 29, 2022 v0.3.2 Jul 29, 2022 v0.3.1 Jul 20, 2022 v0.3.0 Jul 19, 2022 Changes in this version + const Between v0.2.0 Jul 18, 2022 Changes in this version + const BooleanFalse + const BooleanTrue + const Coerce + const ContainsAll + const ContainsAny + const QuotedString + const SelectorPath + type ErrInvalidSelectorPath struct + func (e ErrInvalidSelectorPath) Error() string + type ErrUnsupportedCoerce struct + func (e ErrUnsupportedCoerce) Error() string type Tokenizer + func NewTokenizer(src []byte) *Tokenizer + func (t *Tokenizer) Next() (token Token, err error) v0.1.2 Jul 8, 2022 v0.1.1 Jun 9, 2022 Changes in this version + const Add + const And + const Boolean + const CloseBracket + const CloseParen + const Comma + const Contains + const Divide + const EndsWith + const Equals + const Gt + const Gte + const Identifier + const In + const Lt + const Lte + const Multiply + const Not + const Null + const Number + const OpenBracket + const OpenParen + const Or + const StartsWith + const String + const Subtract + type ErrInvalidBool struct + func (e ErrInvalidBool) Error() string + type ErrInvalidIdentifier struct + func (e ErrInvalidIdentifier) Error() string + type ErrInvalidKeyword struct + func (e ErrInvalidKeyword) Error() string + type ErrInvalidNumber struct + func (e ErrInvalidNumber) Error() string + type ErrUnsupportedCharacter struct + func (e ErrUnsupportedCharacter) Error() string + type ErrUnsupportedTypeComparison struct + func (e ErrUnsupportedTypeComparison) Error() string + type ErrUnterminatedString struct + func (e ErrUnterminatedString) Error() string + type Expression interface + Calculate func(src []byte) (any, error) + func Parse(expression []byte) (Expression, error) + type LexerResult struct + type Token struct + func Tokenize(src []byte) (tokens []Token, err error) + type TokenKind uint8 + type Tokenizer struct