@@ -146,8 +146,6 @@ defmodule Macro do
146
146
* `:delimiter` - contains the opening delimiter for sigils, strings,
147
147
and charlists as a string (such as `"{"`, `"/"`, `"'"`, and the like)
148
148
149
- * `:format` - set to `:keyword` when an atom is defined as a keyword
150
-
151
149
* `:do` - contains metadata about the `do` location in a function call with
152
150
`do`-`end` blocks (when `:token_metadata` is true)
153
151
@@ -159,10 +157,18 @@ defmodule Macro do
159
157
expressions inside "blocks of code", which are either direct children
160
158
of a `__block__` or the right side of `->`. The last expression of the
161
159
block does not have metadata if it is not followed by an end of line
162
- character (either a newline or `;`)
160
+ character (either a newline or `;`). This entry may appear multiple times
161
+ in the same metadata if the expression is surround by parens
162
+
163
+ * `:format` - set to `:keyword` when an atom is defined as a keyword.
164
+ It may also be set to `:atom` to distinguish `nil`, `false`, and `true`
163
165
164
166
* `:indentation` - indentation of a sigil heredoc
165
167
168
+ * `:parens` - denotes a node was surrounded by parens for grouping.
169
+ This entry may appear multiple times in the same metadata if
170
+ multiple pairs are used for grouping
171
+
166
172
The following metadata keys are private:
167
173
168
174
* `:alias` - Used for alias hygiene.
0 commit comments