Skip to content

Commit

Permalink
Docs: Reword Query section for clarification about generator_function…
Browse files Browse the repository at this point in the history
…/ generator_name

PiperOrigin-RevId: 365250865
  • Loading branch information
Googler authored and copybara-github committed Mar 26, 2021
1 parent be30d1d commit 1e7e519
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions site/docs/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,10 @@ <h3 id="output-build">Print the source form of targets as they would appear in B
With this option, the representation of each target is as if it were
hand-written in the BUILD language. All variables and function calls
(e.g. glob, macros) are expanded, which is useful for seeing the effect
of Starlark macros. Additionally, each effective rule is annotated with
the name of the macro (if any, see <code>generator_name</code> and
<code>generator_function</code>) that produced it.
of Starlark macros. Additionally, each effective rule reports a
<code>generator_name</code> and/or <code>generator_function</code>) value,
giving the name of the macro that was evaluated to produce the effective
rule.
</p>
<p>
Although the output uses the same syntax as BUILD files, it is not
Expand Down

0 comments on commit 1e7e519

Please sign in to comment.