• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!-- Generated with Stardoc: http://skydoc.bazel.build -->
2
3The input file for the providers for attributes test
4
5<a id="my_rule"></a>
6
7## my_rule
8
9<pre>
10my_rule(<a href="#my_rule-name">name</a>, <a href="#my_rule-fifth">fifth</a>, <a href="#my_rule-first">first</a>, <a href="#my_rule-fourth">fourth</a>, <a href="#my_rule-second">second</a>, <a href="#my_rule-sixth">sixth</a>, <a href="#my_rule-third">third</a>)
11</pre>
12
13This rule does things.
14
15**ATTRIBUTES**
16
17
18| Name  | Description | Type | Mandatory | Default |
19| :------------- | :------------- | :------------- | :------------- | :------------- |
20| <a id="my_rule-name"></a>name |  A unique name for this target.   | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required |  |
21| <a id="my_rule-fifth"></a>fifth |  -   | <a href="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
22| <a id="my_rule-first"></a>first |  this is the first attribute.   | <a href="https://bazel.build/rules/lib/dict">Dictionary: Label -> String</a> | optional | <code>{}</code> |
23| <a id="my_rule-fourth"></a>fourth |  -   | <a href="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
24| <a id="my_rule-second"></a>second |  -   | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
25| <a id="my_rule-sixth"></a>sixth |  -   | <a href="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
26| <a id="my_rule-third"></a>third |  -   | <a href="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |
27
28
29<a id="MyProviderInfo"></a>
30
31## MyProviderInfo
32
33<pre>
34MyProviderInfo(<a href="#MyProviderInfo-foo">foo</a>, <a href="#MyProviderInfo-bar">bar</a>)
35</pre>
36
37
38
39**FIELDS**
40
41
42| Name  | Description |
43| :------------- | :------------- |
44| <a id="MyProviderInfo-foo"></a>foo |  Something foo-related.    |
45| <a id="MyProviderInfo-bar"></a>bar |  Something bar-related.    |
46
47
48<a id="OtherProviderInfo"></a>
49
50## OtherProviderInfo
51
52<pre>
53OtherProviderInfo()
54</pre>
55
56
57
58**FIELDS**
59
60
61
62<a id="my_rule_impl"></a>
63
64## my_rule_impl
65
66<pre>
67my_rule_impl(<a href="#my_rule_impl-ctx">ctx</a>)
68</pre>
69
70
71
72**PARAMETERS**
73
74
75| Name  | Description | Default Value |
76| :------------- | :------------- | :------------- |
77| <a id="my_rule_impl-ctx"></a>ctx |  <p align="center"> - </p>   |  none |
78
79
80