Skip to content

Commit 3ca7aae

Browse files
committed
Document imported_quoted trace event, closes #13878
1 parent 6c5502b commit 3ca7aae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/elixir/lib/code.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ defmodule Code do
123123
of the imported function/macro. A :remote_function/:remote_macro event
124124
may still be emitted for the imported module/name/arity.
125125
126+
* `{:imported_quoted, meta, module, name, [arity]} - traced whenever an
127+
imported function or macro is processed inside a `quote/2`. `meta` is the
128+
call AST metadata, `module` is the module the import is from, followed by
129+
the `name` and a list of `arities` of the imported function/macro.
130+
126131
* `{:alias, meta, alias, as, opts}` - traced whenever `alias` is aliased
127132
to `as`. `meta` is the alias AST metadata and `opts` are the alias options.
128133

0 commit comments

Comments
 (0)