From 1e7e51978a4872a28b8354a73aeba46c0c541e8b Mon Sep 17 00:00:00 2001 From: Googler Date: Fri, 26 Mar 2021 10:20:54 -0700 Subject: [PATCH] Docs: Reword Query section for clarification about generator_function/ generator_name PiperOrigin-RevId: 365250865 --- site/docs/query.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/docs/query.html b/site/docs/query.html index fbf235c6054e95..4a431407b93df4 100644 --- a/site/docs/query.html +++ b/site/docs/query.html @@ -1203,9 +1203,10 @@

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 generator_name and - generator_function) that produced it. + of Starlark macros. Additionally, each effective rule reports a + generator_name and/or generator_function) value, + giving the name of the macro that was evaluated to produce the effective + rule.

Although the output uses the same syntax as BUILD files, it is not