NewExtension creates an Extension to be recorded on the SourceInfo.
(id string, version ExtensionVersion, components ...ExtensionComponent)
| 543 | |
| 544 | // NewExtension creates an Extension to be recorded on the SourceInfo. |
| 545 | func NewExtension(id string, version ExtensionVersion, components ...ExtensionComponent) Extension { |
| 546 | return Extension{ |
| 547 | ID: id, |
| 548 | Version: version, |
| 549 | Components: components, |
| 550 | } |
| 551 | } |
| 552 | |
| 553 | // Extension represents a versioned, optional feature present in the AST that affects CEL component behavior. |
| 554 | type Extension struct { |
no outgoing calls