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

Method SyntaxVersion

common/ast/ast.go:292–297  ·  view source on GitHub ↗

SyntaxVersion returns the syntax version associated with the text expression.

()

Source from the content-addressed store, hash-verified

290
291// SyntaxVersion returns the syntax version associated with the text expression.
292func (s *SourceInfo) SyntaxVersion() string {
293 if s == nil {
294 return ""
295 }
296 return s.syntax
297}
298
299// Description provides information about where the expression came from.
300func (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