package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev

# Functions

BinaryFunction returns a definition for a function that can be called with two arguments.
BinaryVariadicFunction returns a definition for a function that can be called with one or more arguments.
DynamicMap returns a definition for a variable that can be indexed with map[key] or map.key syntax to get a TValues, or passed directly to another function as TMap.
DynamicMapFunction returns a definition for a variable that can be indexed with map[key] or map.key syntax to get a TValues.
DynamicVariable returns a normal variable definition.
NewCachedParser creates a cached predicate expression parser with the given specification.
NewParser creates a predicate expression parser with the given specification.
TernaryFunction returns a definition for a function that can be called with three arguments.
TernaryVariadicFunction returns a definition for a function that can be called with one or more arguments.
UnaryFunction returns a definition for a function that can be called with one argument.
UnaryFunctionWithEnv returns a definition for a function that can be called with one argument.
UnaryVariadicFunction returns a definition for a function that can be called with any number of arguments of a single type.
WithInvalidNamespaceHack is necessary because old parser versions accidentally allowed "<anything>.trait" as an alias for "external.trait".

# Structs

CachedParser is a Parser that caches each parsed expression.
No description provided by the author
Parser is a predicate expression parser configured to parse expressions of a specific expression language.
ParserSpec defines a predicate language.

# Interfaces

Expression is a generic interface representing a parsed predicate expression which can be evaluated with environment type TEnv to produce a result of type TResult.
Function holds the definition of a function.
Getter is a generic interface for map-like values that allow you to Get a TValues by key.

# Type aliases

ParserOption is an optional option for configuring a Parser.
UnknownIdentifierError is an error type that can be used to identify errors related to an unknown identifier in an expression.
Variable holds the definition of a literal or variable.