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

Method nextMacroID

parser/helper.go:329–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func (e *exprHelper) nextMacroID() int64 {
330 return e.parserHelper.id(e.parserHelper.getLocation(e.id))
331}
332
333// Copy implements the ExprHelper interface method by producing a copy of the input Expr value
334// with a fresh set of numeric identifiers the Expr and all its descendants.

Callers 15

CopyMethod · 0.95
NewLiteralMethod · 0.95
NewListMethod · 0.95
NewMapMethod · 0.95
NewMapEntryMethod · 0.95
NewStructMethod · 0.95
NewStructFieldMethod · 0.95
NewComprehensionMethod · 0.95
NewIdentMethod · 0.95
NewAccuIdentMethod · 0.95
NewCallMethod · 0.95

Calls 2

idMethod · 0.80
getLocationMethod · 0.80

Tested by

no test coverage detected