File tree 1 file changed +51
-26
lines changed 1 file changed +51
-26
lines changed Original file line number Diff line number Diff line change 1
- {{ #linkable }}
1
+ {{~ #*inline " typed-variable-array" ~}}
2
+ {{ #each . }} [.var-type\]#{{ typeName }} #{{ #if name }} [.var-name\]#{{ name }} #{{ /if }} {{ #unless @last }} , {{ /unless }}{{ /each }}
3
+ {{ ~/inline ~}}
4
+
5
+ {{ #each linkable }}
2
6
:{{ name }} : pass:normal[xref:#{{ anchor }} [`{{ name }} `]]
3
- {{ /linkable }}
7
+ {{ /each }}
4
8
5
9
[.contract]
6
10
[[{{ anchor }} ]]
11
15
{{ #if modifiers }}
12
16
[.contract-index]
13
17
.Modifiers
14
- {{ #inheritance }}
15
- {{ #ownModifiers }}
16
- * xref:#{{ anchor }} [`{{ signature }} `]
17
- {{ /ownModifiers }}
18
- {{ /inheritance }}
18
+ --
19
+ {{ #each inheritedItems }}
20
+ {{ #unless @first }}
21
+ [.contract-subindex-inherited]
22
+ .{{ contract.name }}
23
+ {{ /unless }}
24
+ {{ #each modifiers }}
25
+ * xref:#{{ anchor }} [`{{ name }} ({{ args.names }} )`]
26
+ {{ /each }}
27
+
28
+ {{ /each }}
29
+ --
19
30
{{ /if }}
20
31
21
32
{{ #if functions }}
22
33
[.contract-index]
23
34
.Functions
24
- {{ #inheritance }}
25
- {{ #ownFunctions }}
26
- * xref:#{{ anchor }} [`{{ signature }} `]
27
- {{ /ownFunctions }}
28
- {{ /inheritance }}
35
+ --
36
+ {{ #each inheritedItems }}
37
+ {{ #unless @first }}
38
+ [.contract-subindex-inherited]
39
+ .{{ contract.name }}
40
+ {{ /unless }}
41
+ {{ #each functions }}
42
+ * xref:#{{ anchor }} [`{{ name }} ({{ args.names }} )`]
43
+ {{ /each }}
44
+
45
+ {{ /each }}
46
+ --
29
47
{{ /if }}
30
48
31
49
{{ #if events }}
32
50
[.contract-index]
33
51
.Events
34
- {{ #inheritance }}
35
- {{ #ownEvents }}
36
- * xref:#{{ anchor }} [`{{ signature }} `]
37
- {{ /ownEvents }}
38
- {{ /inheritance }}
52
+ --
53
+ {{ #each inheritedItems }}
54
+ {{ #unless @first }}
55
+ [.contract-subindex-inherited]
56
+ .{{ contract.name }}
57
+ {{ /unless }}
58
+ {{ #each events }}
59
+ * xref:#{{ anchor }} [`{{ name }} ({{ args.names }} )`]
60
+ {{ /each }}
61
+
62
+ {{ /each }}
63
+ --
39
64
{{ /if }}
40
65
41
- {{ #ownModifiers }}
66
+ {{ #each modifiers }}
42
67
[.contract-item]
43
68
[[{{ anchor }} ]]
44
- ==== `{{ name }} ({{ args }} )`
69
+ ==== `pass:normal[ {{ name }} ({{> typed-variable-array args }} )] `
45
70
46
71
{{ natspec.devdoc }}
47
72
48
- {{ /ownModifiers }}
73
+ {{ /each }}
49
74
50
- {{ #ownFunctions }}
75
+ {{ #each functions }}
51
76
[.contract-item]
52
77
[[{{ anchor }} ]]
53
- ==== `{{ name }} ({{ args }} ){{ #if outputs }} → {{ outputs }} {{ /if }} ` [.visibility]#{{ visibility }} #
78
+ ==== `pass:normal[ {{ name }} ({{> typed-variable-array args }} ){{ #if outputs }} → {{> typed-variable-array outputs }} {{ /if }} ] ` [.visibility]#{{ visibility }} #
54
79
55
80
{{ natspec.devdoc }}
56
81
57
- {{ /ownFunctions }}
82
+ {{ /each }}
58
83
59
- {{ #ownEvents }}
84
+ {{ #each events }}
60
85
[.contract-item]
61
86
[[{{ anchor }} ]]
62
- ==== `{{ name }} ({{ args }} )`
87
+ ==== `pass:normal[ {{ name }} ({{> typed-variable-array args }} )] `
63
88
64
89
{{ natspec.devdoc }}
65
90
66
- {{ /ownEvents }}
91
+ {{ /each }}
You can’t perform that action at this time.
0 commit comments