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

Method ArgCount

parser/macro.go:144–146  ·  view source on GitHub ↗

ArgCount returns the number of arguments the macro expects.

()

Source from the content-addressed store, hash-verified

142
143// ArgCount returns the number of arguments the macro expects.
144func (m *macro) ArgCount() int {
145 return m.argCount
146}
147
148// IsReceiverStyle returns whether the macro is receiver style.
149func (m *macro) IsReceiverStyle() bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected