1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?xml version="1.0"?>
<page id="Regress.test_nested_parameter"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/1.0/ui/">
<info>
<link type="guide" xref="index" group="function"/>
<api:function>
<api:returns>
<api:type>void</api:type>
</api:returns>
<api:name>regress_test_nested_parameter</api:name>
<api:arg>
<api:type>Number</api:type>
<api:name>a</api:name>
</api:arg>
</api:function>
</info>
<title>test_nested_parameter</title>
<synopsis><code mime="text/x-gjs">
function test_nested_parameter(a:Number):void {
// Gjs wrapper for regress_test_nested_parameter()
}
</code></synopsis>
<p><informaltable>
<tgroup cols="3">
<thead>
<row>
<entry>Syntax</entry>
<entry>Explanation</entry>
<entry>Examples</entry>
</row>
</thead>
<tbody>
<row>
<entry>rgb(@r, @g, @b)</entry>
<entry>An opaque color; @r, @g, @b can be either integers between
0 and 255 or percentages</entry>
<entry><literallayout>rgb(128, 10, 54)
rgb(20%, 30%, 0%)</literallayout></entry>
</row>
<row>
<entry>rgba(@r, @g, @b, <code>a</code>)</entry>
<entry>A translucent color; @r, @g, @b are as in the previous row,
<code>a</code> is a floating point number between 0 and 1</entry>
<entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry>
</row>
</tbody>
</tgroup>
</informaltable></p><p>What we're testing here is that the scanner ignores the <code>a</code> nested inside XML.</p>
<terms>
<item>
<title><code>a</code></title>
<p>An integer</p>
</item>
</terms>
</page>
|