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

Method ClearMacroCall

common/ast/ast.go:342–346  ·  view source on GitHub ↗

ClearMacroCall removes the macro call at the given expression id.

(id int64)

Source from the content-addressed store, hash-verified

340
341// ClearMacroCall removes the macro call at the given expression id.
342func (s *SourceInfo) ClearMacroCall(id int64) {
343 if s != nil {
344 delete(s.macroCalls, id)
345 }
346}
347
348// OffsetRanges returns a map of expression id to OffsetRange values where the range indicates either:
349// the start and end position in the input stream where the expression occurs, or the start position

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected