MacroKey implements the Macro interface method.
()
| 157 | |
| 158 | // MacroKey implements the Macro interface method. |
| 159 | func (m *macro) MacroKey() string { |
| 160 | if m.varArgStyle { |
| 161 | return makeVarArgMacroKey(m.function, m.receiverStyle) |
| 162 | } |
| 163 | return makeMacroKey(m.function, m.argCount, m.receiverStyle) |
| 164 | } |
| 165 | |
| 166 | // Documentation generates documentation and examples for the macro. |
| 167 | func (m *macro) Documentation() *common.Doc { |
nothing calls this directly
no test coverage detected