Documentation
¶
Overview ¶
Package velty compiles Datly predicate metadata into Velty-backed runtime evaluators exposed through the exec.PredicateEvaluator port.
Index ¶
Constants ¶
View Source
const VariableName = "predicate"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) CombineAnd ¶
type CompileInput ¶
type CompileInput struct {
Component *spec.Component
InputType reflect.Type
Bindings []bindly.BindingSpec
Lookup LookupType
}
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func (*Context) ExpandWith ¶
type DefinitionCompiler ¶
type DefinitionCompiler struct {
Context *typecatalog.ResolutionContext
}
DefinitionCompiler preserves handler type identity before metadata leaves its authored import scope. It does not require linked types during generation. Builtin predicate arguments remain strings owned by their templates.
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
func Compile ¶
func Compile(input CompileInput) (*Program, error)
func (*Program) ContextType ¶
Click to show internal directories.
Click to hide internal directories.