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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Sep 16 04:20:52 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +243 -0 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 wakaba 1.1 #data
2     exception e {
3     long a;
4     };
5     #errors
6     1;non-module definition;s
7     #document
8     | exception e {
9     | long a;
10     | };
11    
12     #data
13     exception e {
14     long a;
15     long a;
16     };
17     #errors
18     1;non-module definition;s
19     3;duplicate member;m
20    
21     #data
22     exception e {
23     long a;
24     long _a;
25     };
26     #errors
27     1;non-module definition;s
28     3;duplicate member;m
29    
30     #data
31     exception e {
32     long a;
33     boolean a;
34     };
35     #errors
36     1;non-module definition;s
37     3;duplicate member;m
38    
39     #data
40     exception e {
41     long a;
42     long b;
43     };
44     #errors
45     1;non-module definition;s
46    
47     #data
48     exception e {
49     long a;
50     long __a;
51     };
52     #errors
53     1;non-module definition;s
54    
55     #data
56     exception e {
57     long a;
58     };
59     exception f {
60     long a;
61     };
62     #errors
63     1;non-module definition;s
64     4;non-module definition;s
65 wakaba 1.2
66     #data
67     [ExceptionConsts] module m {
68     exception f { };
69     };
70     #errors
71     1;xattr id missing;m;ExceptionConsts
72     #document
73     | [ExceptionConsts] module m {
74     |
75     | exception f {
76     | };
77     |
78     | };
79    
80     #data
81     [ExceptionConst] module m {
82     exception f { };
83     };
84     #errors
85     1;unknown xattr;u;ExceptionConst
86     #document
87     | [ExceptionConst] module m {
88     |
89     | exception f {
90     | };
91     |
92     | };
93    
94     #data
95     [ExceptionsConsts] module m {
96     exception f { };
97     };
98     #errors
99     1;unknown xattr;u;ExceptionsConsts
100     #document
101     | [ExceptionsConsts] module m {
102     |
103     | exception f {
104     | };
105     |
106     | };
107    
108     #data
109     [ExceptionsConst] module m {
110     exception f { };
111     };
112     #errors
113     1;unknown xattr;u;ExceptionsConst
114     #document
115     | [ExceptionsConst] module m {
116     |
117     | exception f {
118     | };
119     |
120     | };
121    
122     #data
123     [ExceptionConsts=f] module m {
124     exception f { };
125     };
126     #errors
127     #document
128     | [ExceptionConsts=f] module m {
129     |
130     | exception f {
131     | };
132     |
133     | };
134    
135     #data
136     [ExceptionConsts=_f] module m {
137     exception f { };
138     };
139     #errors
140     #document
141     | [ExceptionConsts=f] module m {
142     |
143     | exception f {
144     | };
145     |
146     | };
147    
148     #data
149     [ExceptionConsts=ff] module m {
150     exception f { };
151     };
152     #errors
153     1:ff;exception not defined;m
154     #document
155     | [ExceptionConsts=ff] module m {
156     |
157     | exception f {
158     | };
159     |
160     | };
161    
162     #data
163     [ExceptionConsts=m::f] module m {
164     exception f { };
165     };
166     #errors
167     1.20;after xattr;m
168     #document
169    
170     #data
171     [ExceptionConsts=::f] module m {
172     exception f { };
173     };
174     #errors
175     1.19;after xattrarg;m
176     #document
177    
178     #data
179     [ExceptionConsts=_f] module m {
180     exception f { };
181     };
182     #errors
183     #document
184     | [ExceptionConsts=f] module m {
185     |
186     | exception f {
187     | };
188     |
189     | };
190    
191     #data
192     [ExceptionConsts=f] module m {
193     exception _f { };
194     };
195     #errors
196     #document
197     | [ExceptionConsts=f] module m {
198     |
199     | exception f {
200     | };
201     |
202     | };
203    
204     #data
205     [ExceptionConsts=f] module m {
206     interface f { };
207     };
208     #errors
209     1:f;exception not defined;m
210     #document
211     | [ExceptionConsts=f] module m {
212     |
213     | interface f {
214     | };
215     |
216     | };
217    
218     #data
219     module m {
220     exception f {};
221     };
222     [ExceptionConsts=f] module m {
223     };
224     #errors
225     4;duplicate qname;m
226     4:f;exception not defined;m
227     #document
228     | module m {
229     |
230     | exception f {
231     | };
232     |
233     | };
234     |
235     | [ExceptionConsts=f] module m {
236     |
237     |
238     | };
239    
240     #data
241     [ExceptionConsts=f,ExceptionConsts=f] module m {
242     exception f { };
243     };
244     #errors
245     #document
246     | [ExceptionConsts=f, ExceptionConsts=f] module m {
247     |
248     | exception f {
249     | };
250     |
251     | };
252    
253     #data
254     [ExceptionConsts=f, ExceptionConsts = g] module m {
255     exception f { };
256     exception g {};
257     };
258     #errors
259     #document
260     | [ExceptionConsts=f, ExceptionConsts=g] module m {
261     |
262     | exception f {
263     | };
264     | exception g {
265     | };
266     |
267     | };
268    
269     #data
270     [ExceptionConsts()] module m {
271     exception f { };
272     };
273     #errors
274     1;xattr id missing;m;ExceptionConsts
275     1;xattr arglist not allowed;m;ExceptionConsts
276    
277     #data
278     [ExceptionConsts=f ()] module m {
279     exception f { };
280     };
281     #errors
282     1;xattr arglist not allowed;m;ExceptionConsts
283    
284     #data
285     module m {
286     [ExceptionConsts=m] exception f {
287     };
288     };
289     #errors
290     2;xattr not applicable;w;ExceptionConsts
291    
292     #data
293     module m {
294     [ExceptionConsts=m] interface f {
295     };
296     };
297     #errors
298     2;xattr not applicable;w;ExceptionConsts
299    
300     #data
301     module m {
302     interface x {
303     [ExceptionConsts=m] void m ();
304     };
305     };
306     #errors
307     3;xattr not applicable;w;ExceptionConsts

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24