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

Method SyntaxVersion

common/ast/ast.go:284–289  ·  view source on GitHub ↗

SyntaxVersion returns the syntax version associated with the text expression.

()

Source from the content-addressed store, hash-verified

282
283// SyntaxVersion returns the syntax version associated with the text expression.
284func (s *SourceInfo) SyntaxVersion() string {
285 if s == nil {
286 return ""
287 }
288 return s.syntax
289}
290
291// Description provides information about where the expression came from.
292func (s *SourceInfo) Description() string {

Callers 3

TestASTNilSafetyFunction · 0.80
TestSourceInfoNilSafetyFunction · 0.80
SourceInfoToProtoFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestASTNilSafetyFunction · 0.64
TestSourceInfoNilSafetyFunction · 0.64