NewExtension creates an Extension to be recorded on the SourceInfo.
(id string, version ExtensionVersion, components ...ExtensionComponent)
| 536 | |
| 537 | // NewExtension creates an Extension to be recorded on the SourceInfo. |
| 538 | func NewExtension(id string, version ExtensionVersion, components ...ExtensionComponent) Extension { |
| 539 | return Extension{ |
| 540 | ID: id, |
| 541 | Version: version, |
| 542 | Components: components, |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | // Extension represents a versioned, optional feature present in the AST that affects CEL component behavior. |
| 547 | type Extension struct { |
no outgoing calls