package
1.1.4
Repository: https://github.com/cockroachdb/pebble.git
Documentation: pkg.go.dev

# Functions

And returns a Predicate that evaluates to true if all its operands evaluate to true.
NewParser constructs a new Parser of a lisp-like DSL.
NewPredicateParser constructs a new Parser of a Lisp-like DSL, where the resulting type implements Predicate[E].
Not returns a Predicate that negates the provided predicate.
OnIndex returns a Predicate that evaluates to true on its N-th call.
Or returns a Predicate that evaluates to true if any of its operands evaluate true.

# Structs

Index is a Predicate that evaluates to true only on its N-th invocation.
A Parser holds the rules and logic for parsing a DSL.
A Scanner holds the scanner's internal state while processing a given text.
Token is a lexical token scanned from an input text.

# Interfaces

Predicate encodes conditional logic that yields a boolean.