Back to Bazel

Attribute

docs/versions/8.0.0/rules/lib/builtins/Attribute.mdx

9.1.0787 B
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/8.0.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.Attribute">Attribute</h1>

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkAttrModuleApi.java" %} {% dynamic setvar version "8.0.0" %} {% dynamic setvar original_path "/rules/lib/builtins/Attribute" %} {% include "_buttons.html" %}

<!-- {% raw %} -->

Representation of a definition of an attribute. Use the <a href="../toplevel/attr.html">attr</a> module to create an Attribute. They are only for use with a <a href="../globals/bzl.html#rule">rule</a> or an <a href="../globals/bzl.html#aspect">aspect</a>.

</body> </html> <!-- {% endraw %} -->