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

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

Issue 447543002: Introduce support for ExtendedAttributeIdentList in the IDL parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « tools/idl_parser/test_parser/extattr_ppapi.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 * Attribute(stringValue) 155 * Attribute(stringValue)
156 * Type() 156 * Type()
157 * PrimitiveType(DOMString) 157 * PrimitiveType(DOMString)
158 */ 158 */
159 interface MyIFaceStringifiers { 159 interface MyIFaceStringifiers {
160 stringifier; 160 stringifier;
161 stringifier DOMString (); 161 stringifier DOMString ();
162 stringifier DOMString namedStringifier(); 162 stringifier DOMString namedStringifier();
163 stringifier attribute DOMString stringValue; 163 stringifier attribute DOMString stringValue;
164 }; 164 };
165
166 /* TREE
167 *Interface(MyExtendedAttributeInterface)
168 * Operation(method)
169 * Arguments()
170 * Type()
171 * PrimitiveType(void)
172 * ExtAttributes()
173 * ExtAttribute(Attr)
174 * ExtAttribute(MethodIdentList)
175 * ExtAttributes()
176 * ExtAttribute(MyExtendedAttribute)
177 * ExtAttribute(MyExtendedIdentListAttribute)
178 */
179 [MyExtendedAttribute,
180 MyExtendedIdentListAttribute=(Foo, Bar, Baz)]
181 interface MyExtendedAttributeInterface {
182 [Attr, MethodIdentList=(Foo, Bar)] void method();
183 };
OLDNEW
« no previous file with comments | « tools/idl_parser/test_parser/extattr_ppapi.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698