NewExtension creates an Extension to be recorded on the SourceInfo.
(id string, version ExtensionVersion, components ...ExtensionComponent)
| 528 | |
| 529 | // NewExtension creates an Extension to be recorded on the SourceInfo. |
| 530 | func NewExtension(id string, version ExtensionVersion, components ...ExtensionComponent) Extension { |
| 531 | return Extension{ |
| 532 | ID: id, |
| 533 | Version: version, |
| 534 | Components: components, |
| 535 | } |
| 536 | } |
| 537 | |
| 538 | // Extension represents a versioned, optional feature present in the AST that affects CEL component behavior. |
| 539 | type Extension struct { |
no outgoing calls