Index: tools/json_schema_compiler/dart_test/basic_type.dart |
diff --git a/tools/json_schema_compiler/dart_test/basic_type.dart b/tools/json_schema_compiler/dart_test/basic_type.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53183d09109ef80df4308cfdfa788929ed22334f |
--- /dev/null |
+++ b/tools/json_schema_compiler/dart_test/basic_type.dart |
@@ -0,0 +1,77 @@ |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+// Generated from namespace: basic_type |
+ |
+part of chrome; |
+ |
+/** |
+ * Types |
+ */ |
+ |
+class Basic_typeBasicType extends ChromeObject { |
+ /* |
+ * Public constructor |
+ */ |
+ Basic_typeBasicType({String s, int i, int l, double d}) { |
+ if (?s) |
+ this.s = s; |
+ if (?i) |
+ this.i = i; |
+ if (?l) |
+ this.l = l; |
+ if (?d) |
+ this.d = d; |
+ } |
+ |
+ /* |
+ * Private constructor |
+ */ |
+ Basic_typeBasicType._proxy(_jsObject) : super._proxy(_jsObject); |
+ |
+ /* |
+ * Public accessors |
+ */ |
+ /// Documentation for the String s. |
+ String get s => JS('String', '#.s', this._jsObject); |
+ |
+ void set s(String s) { |
+ JS('void', '#.s = #', this._jsObject, s); |
+ } |
+ |
+ /// Documentation for the int i. |
+ int get i => JS('int', '#.i', this._jsObject); |
+ |
+ void set i(int i) { |
+ JS('void', '#.i = #', this._jsObject, i); |
+ } |
+ |
+ /// Documentation for the long l. |
+ int get l => JS('int', '#.l', this._jsObject); |
+ |
+ void set l(int l) { |
+ JS('void', '#.l = #', this._jsObject, l); |
+ } |
+ |
+ /// Documentation for the double d. |
+ double get d => JS('double', '#.d', this._jsObject); |
+ |
+ void set d(double d) { |
+ JS('void', '#.d = #', this._jsObject, d); |
+ } |
+ |
+} |
+ |
+/** |
+ * Functions |
+ */ |
+ |
+class API_basic_type { |
+ /* |
+ * API connection |
+ */ |
+ Object _jsObject; |
+ API_basic_type(this._jsObject) { |
+ } |
+} |