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

Side by Side Diff: tools/json_schema_compiler/dart_test/dictionaries.idl

Issue 843213003: Remove dart generator code from json schema compiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This comment is for the dictionaries namespace.
6 namespace dictionaries {
7 // Documentation for ComplexType.
8 dictionary InnerType {
9 // Documentation for the String s.
10 DOMString s;
11
12 // Documentation for the boolean b.
13 int b;
14
15 // Documentation for the int i.
16 int i;
17
18 // Documentation for the long l.
19 long l;
20
21 // Documentation for the double d.
22 double d;
23
24 // Documentation for the file entry f.
25 [instanceOf=FileEntry] object f;
26
27 // Documentation for the optional String s.
28 DOMString? os;
29
30 // Documentation for the optional boolean ob.
31 int ob;
32
33 // Documentation for the optional int i.
34 int? oi;
35
36 // Documentation for the optional long l.
37 long? ol;
38
39 // Documentation for the optional double d.
40 double? od;
41
42 // Documentation for the optional file entry f.
43 [instanceOf=FileEntry] object? of;
44 };
45
46 dictionary OuterType {
47 // Documentation for the array of InnerTypes items.
48 InnerType[] items;
49
50 // Documentation for the optional array of Inner Types oitems.
51 InnerType[]? oitems;
52 };
53
54 dictionary ComplexType {
55 // Documentation for the int i.
56 int i;
57
58 // Documentation for the ComplexType c.
59 ComplexType c;
60 };
61 };
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/dart_test/dictionaries.dart ('k') | tools/json_schema_compiler/dart_test/empty_namespace.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698