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

Method SourceID

policy/compiler.go:172–174  ·  view source on GitHub ↗

SourceID returns the expression id associated with the output expression.

()

Source from the content-addressed store, hash-verified

170
171// SourceID returns the expression id associated with the output expression.
172func (o *OutputValue) SourceID() int64 {
173 return o.exprID
174}
175
176// Expr returns the compiled expression associated with the output.
177func (o *OutputValue) Expr() *cel.Ast {

Callers 4

CompileRuleFunction · 0.45
compileRuleMethod · 0.45
checkUnreachableCodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected