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

Method Arg

ext/formatting.go:594–600  ·  view source on GitHub ↗

Arg implements formatListArgs.Arg.

(index int64)

Source from the content-addressed store, hash-verified

592
593// Arg implements formatListArgs.Arg.
594func (c *stringFormatChecker) Arg(index int64) (ref.Val, error) {
595 c.argsRequested++
596 c.currArgIndex = index
597 // return a dummy value - this is immediately passed to back to us
598 // through one of the FormatCallback functions, so anything will do
599 return types.Int(0), nil
600}
601
602// Size implements formatListArgs.Size.
603func (c *stringFormatChecker) Size() int64 {

Callers

nothing calls this directly

Calls 1

IntTypeAlias · 0.92

Tested by

no test coverage detected