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

Function MacroDocs

cel/macro.go:149–151  ·  view source on GitHub ↗

MacroDocs configures a list of strings into a multiline description for the macro.

(docs ...string)

Source from the content-addressed store, hash-verified

147
148// MacroDocs configures a list of strings into a multiline description for the macro.
149func MacroDocs(docs ...string) MacroOpt {
150 return parser.MacroDocs(docs...)
151}
152
153// MacroExamples configures a list of examples, either as a string or common.MultilineString,
154// into an example set to be provided with the macro Documentation() call.

Callers 2

TestDocumentationFunction · 0.70
CompileOptionsMethod · 0.70

Calls 1

MacroDocsFunction · 0.92

Tested by 1

TestDocumentationFunction · 0.56