Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ mustAdaptToProto
Function
mustAdaptToProto
cel/macro.go:561–564 ·
view source on GitHub ↗
(e ast.Expr)
Source
from the content-addressed store, hash-verified
559
}
560
561
func
mustAdaptToProto(e ast.Expr) *exprpb.Expr {
562
out, _ := adaptToProto(e)
563
return
out
564
}
565
566
func
adaptToProto(e ast.Expr) (*exprpb.Expr, *Error) {
567
if
e == nil {
Callers
15
Copy
Method · 0.85
LiteralBool
Method · 0.85
LiteralBytes
Method · 0.85
LiteralDouble
Method · 0.85
LiteralInt
Method · 0.85
LiteralString
Method · 0.85
LiteralUint
Method · 0.85
NewList
Method · 0.85
NewMap
Method · 0.85
NewObject
Method · 0.85
Fold
Method · 0.85
Ident
Method · 0.85
Calls
1
adaptToProto
Function · 0.85
Tested by
no test coverage detected