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

Function NewExtensionVersion

common/ast/ast.go:564–566  ·  view source on GitHub ↗

NewExtensionVersion creates a new extension version with a major, minor version.

(major, minor int64)

Source from the content-addressed store, hash-verified

562
563// NewExtensionVersion creates a new extension version with a major, minor version.
564func NewExtensionVersion(major, minor int64) ExtensionVersion {
565 return ExtensionVersion{Major: major, Minor: minor}
566}
567
568// ExtensionVersion represents a semantic version with a major and minor number.
569type ExtensionVersion struct {

Callers 7

TestComposeFunction · 0.92
composer.goFile · 0.92
CheckFunction · 0.92
newProgramFunction · 0.92
TestHasExtensionFunction · 0.92
TestConvertASTFunction · 0.92
ProtoToSourceInfoFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestComposeFunction · 0.74
TestHasExtensionFunction · 0.74
TestConvertASTFunction · 0.74