/[suikacvs]/markup/html/whatpm/t/webidl/webidl-defs.dat
Suika

Contents of /markup/html/whatpm/t/webidl/webidl-defs.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Sep 16 04:20:52 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.5: +22 -22 lines
++ whatpm/t/webidl/ChangeLog	16 Sep 2008 04:20:29 -0000
2008-09-16  Wakaba  <wakaba@suika.fam.cx>

	* webidl-interface.dat, webidl-exception.dat: New test cases for
	extended attributes are added.

	* webidl-defs.dat: Test results updated.

++ whatpm/Whatpm/ChangeLog	16 Sep 2008 04:19:57 -0000
2008-09-16  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm: Unescapes extended attribute names and extended
	attribute identifiers.  Preserve whether an extended attribute has
	an argument list of not.  Support for extended attributes:
	Constructor, ExceptionConsts, IndexGetter, IndexSetter,
	NameGetter, NameSetter, and Null.
	(has_argument_list): New attribute.
	(idl_text): Stringifies argument lists, if any, even if it is
	empty.

1 #data
2 #errors
3 #document
4
5 #data
6 //
7 #errors
8 #document
9
10 #data
11 interface abc {
12 };
13 #errors
14 1;non-module definition;s
15 #document
16 | interface abc {
17 | };
18
19 #data
20 module abc {
21 };
22 #errors
23 #document
24 | module abc {
25 |
26 |
27 | };
28
29 #data
30 module abc {
31 };interface xyz {};
32 #errors
33 2;non-module definition;s
34 #document
35 | module abc {
36 |
37 |
38 | };
39 |
40 | interface xyz {
41 | };
42
43 #data
44 module abc {
45 interface xyz {
46 };
47 };
48 #errors
49 #document
50 | module abc {
51 |
52 | interface xyz {
53 | };
54 |
55 | };
56
57 #data
58 interface a {};
59 interface b {};
60 #errors
61 1;non-module definition;s
62 2;non-module definition;s
63
64 #data
65 interface a {};
66 interface a {};
67 #errors
68 2;duplicate qname;m
69 1;non-module definition;s
70 2;non-module definition;s
71
72 #data
73 module a {
74 interface b {};
75 };
76 module a {
77 interface b {};
78 };
79 #errors
80 4;duplicate qname;m
81 5;duplicate qname;m
82
83 #data
84 module a {};
85 interface a {};
86 #errors
87 2;duplicate qname;m
88 2;non-module definition;s
89
90 #data
91 module a {};
92 module _a {};
93 #errors
94 2;duplicate qname;m
95
96 #data
97 module a {};
98 module __a {};
99 #errors
100
101 #data
102 module a {
103 interface _b {};
104 interface _b{}
105 ;
106 };
107 #errors
108 3;duplicate qname;m
109
110 #data
111 [ExceptionConsts, abc] interface x {
112 [abc, ExceptionConsts] attribute x b;
113 [abc, ExceptionConsts] void m ([abc, ExceptionConsts] in long a);
114 [abc, ExceptionConsts] const boolean d = FALSE;
115 };
116 [abc, ExceptionConsts=xx] module fd {
117 [abc, ExceptionConsts] interface d {
118
119 };
120 [ExceptionConsts, xxx] exception xx {
121 [ExceptionConsts, eee] long b;
122 };
123 };
124 [abc, ExceptionConsts] const boolean y = TRUE;
125 [def] typedef a b;
126 #errors
127 1;non-module definition;s
128 1;xattr not applicable;w;ExceptionConsts
129 1;unknown xattr;u;abc
130 2;unknown xattr;u;abc
131 2;xattr not applicable;w;ExceptionConsts
132 3;unknown xattr;u;abc
133 3;xattr not applicable;w;ExceptionConsts
134 3;unknown xattr;u;abc
135 3;xattr not applicable;w;ExceptionConsts
136 4;unknown xattr;u;abc
137 4;xattr not applicable;w;ExceptionConsts
138 6;unknown xattr;u;abc
139 7;unknown xattr;u;abc
140 7;xattr not applicable;w;ExceptionConsts
141 10;xattr not applicable;w;ExceptionConsts
142 10;unknown xattr;u;xxx
143 11;xattr not applicable;w;ExceptionConsts
144 11;unknown xattr;u;eee
145 14;xattr not applicable;w;ExceptionConsts
146 14;unknown xattr;u;abc
147 14;non-module definition;s
148 15;unknown xattr;u;def
149 15;non-module definition;s
150 #document
151 | [ExceptionConsts, abc] interface x {
152 | [abc, ExceptionConsts] attribute x b;
153 | [abc, ExceptionConsts] void m ([abc, ExceptionConsts] in long a);
154 | [abc, ExceptionConsts] const boolean d = FALSE;
155 | };
156 |
157 | [abc, ExceptionConsts=xx] module fd {
158 |
159 | [abc, ExceptionConsts] interface d {
160 | };
161 | [ExceptionConsts, xxx] exception xx {
162 | [ExceptionConsts, eee] long b;
163 | };
164 |
165 | };
166 |
167 | [abc, ExceptionConsts] const boolean y = TRUE;
168 |
169 | [def] typedef a b;
170

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24