Macro
Macro describes a parser macro signature and expander.
Properties
Section titled “Properties”argCount
Section titled “argCount”argCount:
number|"*"
Declares the accepted positional argument count.
expander
Section titled “expander”expander:
MacroExpander
Expands the parsed call into its semantic CEL expression.
function
Section titled “function”function:
string
Names the function or receiver method matched by the macro.
receiverStyle
Section titled “receiverStyle”receiverStyle:
boolean
Indicates whether the macro matches receiver-style calls.
Methods
Section titled “Methods”documentation()?
Section titled “documentation()?”
optionaldocumentation():Doc|undefined
Returns structured documentation for the macro when available.
Returns
Section titled “Returns”Doc | undefined