Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: tools/idl_parser/test_parser/interface_web.idl

Issue 803933003: IDL: various adjustments to match Web IDL specification better (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */ 3 found in the LICENSE file. */
4 4
5 /* Test Interface productions 5 /* Test Interface productions
6 6
7 Run with --test to generate an AST and verify that all comments accurately 7 Run with --test to generate an AST and verify that all comments accurately
8 reflect the state of the Nodes. 8 reflect the state of the Nodes.
9 9
10 BUILD Type(Name) 10 BUILD Type(Name)
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 * Promise(Promise) 223 * Promise(Promise)
224 * Type() 224 * Type()
225 * Any() 225 * Any()
226 */ 226 */
227 interface MyIfacePromise { 227 interface MyIfacePromise {
228 Promise<void> method1(); 228 Promise<void> method1();
229 Promise<long> method2(); 229 Promise<long> method2();
230 Promise<any> method3(); 230 Promise<any> method3();
231 Promise method4(); 231 Promise method4();
232 }; 232 };
233
234 /* TREE
235 *Interface(MyIfaceIterable)
236 * Iterable()
237 * Type()
238 * PrimitiveType(long)
239 * Iterable()
240 * Type()
241 * PrimitiveType(double)
242 * Type()
243 * PrimitiveType(DOMString)
244 * LegacyIterable()
245 * Type()
246 * PrimitiveType(boolean)
247 */
248 interface MyIfaceIterable {
249 iterable<long>;
250 iterable<double, DOMString>;
251 legacyiterable<boolean>;
252 };
253
254 /* TREE
255 *Interface(MyIfaceMaplike)
256 * Maplike()
257 * Type()
258 * PrimitiveType(long)
259 * Type()
260 * PrimitiveType(DOMString)
261 * Maplike()
262 * Type()
263 * PrimitiveType(double)
264 * Type()
265 * PrimitiveType(boolean)
266 */
267 interface MyIfaceMaplike {
268 readonly maplike<long, DOMString>;
269 maplike<double, boolean>;
270 };
271
272 /* TREE
273 *Interface(MyIfaceSetlike)
274 * Setlike()
275 * Type()
276 * PrimitiveType(long)
277 * Setlike()
278 * Type()
279 * PrimitiveType(double)
280 */
281 interface MyIfaceSetlike {
282 readonly setlike<long>;
283 setlike<double>;
284 };
OLDNEW
« tools/idl_parser/idl_parser.py ('K') | « tools/idl_parser/test_lexer/keywords.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698