OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // Generated from namespace: complex_type |
| 6 |
| 7 part of chrome; |
| 8 |
| 9 /** |
| 10 * Types |
| 11 */ |
| 12 |
| 13 class Complex_typeComplexType extends ChromeObject { |
| 14 /* |
| 15 * Public constructor |
| 16 */ |
| 17 Complex_typeComplexType({String s, int i, int l, double d, Complex_typeComplex
Type c}) { |
| 18 if (?s) |
| 19 this.s = s; |
| 20 if (?i) |
| 21 this.i = i; |
| 22 if (?l) |
| 23 this.l = l; |
| 24 if (?d) |
| 25 this.d = d; |
| 26 if (?c) |
| 27 this.c = c; |
| 28 } |
| 29 |
| 30 /* |
| 31 * Private constructor |
| 32 */ |
| 33 Complex_typeComplexType._proxy(_jsObject) : super._proxy(_jsObject); |
| 34 |
| 35 /* |
| 36 * Public accessors |
| 37 */ |
| 38 /// Documentation for the String s. |
| 39 String get s => JS('String', '#.s', this._jsObject); |
| 40 |
| 41 void set s(String s) { |
| 42 JS('void', '#.s = #', this._jsObject, s); |
| 43 } |
| 44 |
| 45 /// Documentation for the int i. |
| 46 int get i => JS('int', '#.i', this._jsObject); |
| 47 |
| 48 void set i(int i) { |
| 49 JS('void', '#.i = #', this._jsObject, i); |
| 50 } |
| 51 |
| 52 /// Documentation for the long l. |
| 53 int get l => JS('int', '#.l', this._jsObject); |
| 54 |
| 55 void set l(int l) { |
| 56 JS('void', '#.l = #', this._jsObject, l); |
| 57 } |
| 58 |
| 59 /// Documentation for the double d. |
| 60 double get d => JS('double', '#.d', this._jsObject); |
| 61 |
| 62 void set d(double d) { |
| 63 JS('void', '#.d = #', this._jsObject, d); |
| 64 } |
| 65 |
| 66 /// Documentation for the ComplexType c. |
| 67 Complex_typeComplexType get c => new Complex_typeComplexType._proxy(JS('', '#.
c', this._jsObject)); |
| 68 |
| 69 void set c(Complex_typeComplexType c) { |
| 70 JS('void', '#.c = #', this._jsObject, convertArgument(c)); |
| 71 } |
| 72 |
| 73 } |
| 74 |
| 75 /** |
| 76 * Functions |
| 77 */ |
| 78 |
| 79 class API_complex_type { |
| 80 /* |
| 81 * API connection |
| 82 */ |
| 83 Object _jsObject; |
| 84 API_complex_type(this._jsObject) { |
| 85 } |
| 86 } |
OLD | NEW |