Skip to content

Commit

Permalink
Document assoc metadata entry (#14125)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson authored Dec 29, 2024
1 parent d3cef1f commit 8e4d2cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/elixir/lib/macro.ex
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ defmodule Macro do
The following metadata keys are enabled by `Code.string_to_quoted/2`:
* `:assoc` - contains metadata about the `=>` operator location in a
map key-value AST node (when `:token_metadata` is true). This entry
appears on map key nodes only
* `:closing` - contains metadata about the closing pair, such as a `}`
in a tuple or in a map, or such as the closing `)` in a function call
with parens (when `:token_metadata` is true). If the function call
Expand Down

0 comments on commit 8e4d2cd

Please sign in to comment.