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

Method IsChecked

cel/env.go:80–82  ·  view source on GitHub ↗

IsChecked returns whether the Ast value has been successfully type-checked.

()

Source from the content-addressed store, hash-verified

78
79// IsChecked returns whether the Ast value has been successfully type-checked.
80func (ast *Ast) IsChecked() bool {
81 return ast.NativeRep().IsChecked()
82}
83
84// SourceInfo returns character offset and newline position information about expression elements.
85func (ast *Ast) SourceInfo() *exprpb.SourceInfo {

Callers 9

TestAstNilFunction · 0.95
testEvalWithCostFunction · 0.45
TestDecodeNonBase64ErrorFunction · 0.45
checkCostGoldenV0ActualFunction · 0.45
ResidualAstMethod · 0.45
AstToCheckedExprFunction · 0.45
TestAstIsCheckedFunction · 0.45

Calls 1

NativeRepMethod · 0.95

Tested by 7

TestAstNilFunction · 0.76
testEvalWithCostFunction · 0.36
TestDecodeNonBase64ErrorFunction · 0.36
checkCostGoldenV0ActualFunction · 0.36
TestAstIsCheckedFunction · 0.36