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.
5 // Generated from namespace: operatable_type
13 class Operatable_typeDictType extends ChromeObject {
17 Operatable_typeDictType({int x, int y}) {
27 Operatable_typeDictType._proxy(_jsObject) : super._proxy(_jsObject);
32 int get x => JS('int', '#.x', this._jsObject);
35 JS('void', '#.x = #', this._jsObject, x);
38 int get y => JS('int', '#.y', this._jsObject);
41 JS('void', '#.y = #', this._jsObject, y);
46 class Operatable_typeOperatableType extends ChromeObject {
50 Operatable_typeOperatableType._proxy(_jsObject) : super._proxy(_jsObject);
55 /// Documentation for the String t.
56 String get t => JS('String', '#.t', this._jsObject);
58 void set t(String t) {
59 JS('void', '#.t = #', this._jsObject, t);
66 /// Function returning nothing, taking nothing.
67 void voidFunc() => JS('void', '#.voidFunc()', this._jsObject);
69 /// Function returning primitive type.
70 int intRetFunc() => new int._proxy(JS('', '#.intRetFunc()', this._jsObject));
72 /// Function returning dictionary.
73 Operatable_typeDictType dictRetFunc() => new Operatable_typeDictType._proxy(JS('', '#.dictRetFunc()', this._jsObject));
75 /// Function taking primitive type.
76 void intArgFunc(int i) => JS('void', '#.intArgFunc(#)', this._jsObject, i);
78 /// Function taking dict type.
79 void dictArgFunc(Operatable_typeDictType d) => JS('void', '#.dictArgFunc(#)', this._jsObject, convertArgument(d));
87 class API_operatable_type {
92 API_operatable_type(this._jsObject) {