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

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

Issue 329163002: IDL parser: implement Stringifier production (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 6 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
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 * Arguments() 118 * Arguments()
119 * Argument(arg) 119 * Argument(arg)
120 * Type() 120 * Type()
121 * Typeref(SomeType) 121 * Typeref(SomeType)
122 */ 122 */
123 interface MyIFaceSpecials { 123 interface MyIFaceSpecials {
124 setter creator void set(DOMString property); 124 setter creator void set(DOMString property);
125 getter double (DOMString property); 125 getter double (DOMString property);
126 long long [5][6] GetFiveSix(SomeType arg); 126 long long [5][6] GetFiveSix(SomeType arg);
127 }; 127 };
128
129 /* TREE
130 *Interface(MyIFaceStringifiers)
131 * Stringifier()
132 * Stringifier()
133 * Operation(_unnamed_)
134 * Type()
135 * PrimitiveType(DOMString)
136 * Arguments()
137 * Stringifier()
138 * Operation(namedStringifier)
139 * Type()
140 * PrimitiveType(DOMString)
141 * Arguments()
142 * Stringifier()
143 * Attribute(stringValue)
144 * Type()
145 * PrimitiveType(DOMString)
146 */
147 interface MyIFaceStringifiers {
148 stringifier;
149 stringifier DOMString ();
150 stringifier DOMString namedStringifier();
151 stringifier attribute DOMString stringValue;
152 };
OLDNEW
« tools/idl_parser/idl_parser.py ('K') | « tools/idl_parser/idl_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698