You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`name`](#macro-names)| A unique name assigned to the macro. When constructing an anonymous macro, this argument is omitted.|
13
-
|[`signature`](#macro-signatures)| An s-expression enumerating the parameters this macro accepts. |
14
-
|[`template`](#template-definition-language-tdl)| A template definition language (TDL) expression that can be evaluated to produce zero or more Ion values. |
|[`name`](#macro-names)| A unique name assigned to the macro. When constructing an anonymous macro`null`is used in the place of a unique name. |
13
+
|[`signature`](#macro-signatures)| An s-expression enumerating the parameters this macro accepts. |
14
+
|[`template`](#template-definition-language-tdl)| A template definition language (TDL) expression that can be evaluated to produce zero or more Ion values. |
15
15
16
16
### Example macro clause
17
17
```ion
@@ -32,7 +32,7 @@ A macro is defined using a `macro` clause within a [module](../modules.md)'s [`m
32
32
Syntactically, macro names are [identifiers](../text/symbol-tokens.md). Each macro name in a macro table must be unique.
33
33
34
34
In some circumstances, it may not make sense to name a macro. (For example, when the macro is generated automatically.)
35
-
In such cases, authors may omit the macro name to indicate that the macro does not have a name.
35
+
In such cases, authors must use `null` to indicate that the macro does not have a name.
36
36
Anonymous macros can only be referenced by their address in the macro table.
0 commit comments