MCPcopy Create free account
hub / github.com/cel-expr/cel-go / compiler

Struct compiler

tools/compiler/compiler.go:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109type compiler struct {
110 envOptions []cel.EnvOption
111 policyParserOptions []policy.ParserOption
112 policyCompilerOptions []policy.CompilerOption
113 policyMetadataEnvOptions []PolicyMetadataEnvOption
114 env *cel.Env
115 envErr error
116 doOnce sync.Once
117}
118
119// NewCompiler creates a new compiler with a set of functional options.
120func NewCompiler(opts ...any) (Compiler, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected