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

Method CreateAST

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

CreateAST creates a CEL AST from the input expression using the provided compiler.

(Compiler)

Source from the content-addressed store, hash-verified

458type InputExpression interface {
459 // CreateAST creates a CEL AST from the input expression using the provided compiler.
460 CreateAST(Compiler) (*cel.Ast, map[string]any, error)
461}
462
463// CompiledExpression is an InputExpression which loads a CheckedExpr from a file.

Callers 1

ProgramsMethod · 0.65

Implementers 3

CompiledExpressiontools/compiler/compiler.go
FileExpressiontools/compiler/compiler.go
RawExpressiontools/compiler/compiler.go

Calls

no outgoing calls

Tested by

no test coverage detected