SourceInfo records basic information about the expression as a textual input and as a parsed expression value.
| 259 | // SourceInfo records basic information about the expression as a textual input and |
| 260 | // as a parsed expression value. |
| 261 | type SourceInfo struct { |
| 262 | syntax string |
| 263 | desc string |
| 264 | lines []int32 |
| 265 | baseLine int32 |
| 266 | baseCol int32 |
| 267 | offsetRanges map[int64]OffsetRange |
| 268 | macroCalls map[int64]Expr |
| 269 | |
| 270 | // extensions indicate versioned optional features which affect the execution of one or more CEL component. |
| 271 | extensions []Extension |
| 272 | } |
| 273 | |
| 274 | // RenumberIDs performs an in-place update of the expression IDs within the SourceInfo. |
| 275 | func (s *SourceInfo) RenumberIDs(idGen IDGenerator) { |
no outgoing calls