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

Method NextID

policy/parser.go:430–430  ·  view source on GitHub ↗

NextID returns a monotonically increasing identifier for a source fragment. This ID is implicitly created and tracked within the CollectMetadata method.

()

Source from the content-addressed store, hash-verified

428 // NextID returns a monotonically increasing identifier for a source fragment.
429 // This ID is implicitly created and tracked within the CollectMetadata method.
430 NextID() int64
431
432 // CollectMetadata records the source position information of a given YAML node, and returns
433 // the id associated with the source metadata which is returned in the Policy SourceInfo object.

Callers 1

parseMatchInternalMethod · 0.65

Implementers 1

parserImplpolicy/parser.go

Calls

no outgoing calls

Tested by

no test coverage detected