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

Method Expr

checker/cost.go:67–67  ·  view source on GitHub ↗

Expr returns the expression of the AstNode.

()

Source from the content-addressed store, hash-verified

65
66 // Expr returns the expression of the AstNode.
67 Expr() ast.Expr
68
69 // ComputedSize returns a size estimate of the AstNode derived from information available in the CEL expression.
70 // For constants and inline list and map declarations, the exact size is returned. For concatenated list, strings

Callers 15

DebugASTFunction · 0.65
propagateVisitednessFunction · 0.65
reportCoverageFunction · 0.65
TestCompose_UnnestFunction · 0.65
verifySourceInfoTransferFunction · 0.65
recoverOriginalSourceFunction · 0.65
optimizeRuleMethod · 0.65
registerVariableMethod · 0.65
ConditionIsLiteralMethod · 0.65
OutputTypeMethod · 0.65
TestPruneFunction · 0.65
NewInterpretableMethod · 0.65

Implementers 2

astNodechecker/cost.go
pathAstNodeext/lists.go

Calls

no outgoing calls

Tested by 15

TestCompose_UnnestFunction · 0.52
verifySourceInfoTransferFunction · 0.52
TestPruneFunction · 0.52
TestCheckFunction · 0.52
BenchmarkCheckFunction · 0.52
TestVarsInheritanceFunction · 0.52
TestParseFunction · 0.52
TestExprHelperCopyFunction · 0.52
TestUnparseFunction · 0.52
OptimizeMethod · 0.52
TestAstToProtoFunction · 0.52
TestExprToStringFunction · 0.52