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

Method allocID

parser/helper.go:202–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202func (p *parserHelper) allocID() int64 {
203 id := p.nextID
204 p.nextID++
205 return id
206}
207
208func (p *parserHelper) setTokenLocation(id int64, tok token) {
209 if tok.start >= 0 {

Callers 1

parseMapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected