OLD | NEW |
1 var _foreign_helper; | 1 var _foreign_helper; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 // Function JS: (String, String, [dynamic, dynamic, dynamic, dynamic, dynamic,
dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic]) → dynamic | 4 // Function JS: (String, String, [dynamic, dynamic, dynamic, dynamic, dynamic,
dynamic, dynamic, dynamic, dynamic, dynamic, dynamic, dynamic]) → dynamic |
5 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5,
arg6, arg7, arg8, arg9, arg10, arg11) { | 5 function JS(typeDescription, codeTemplate, arg0, arg1, arg2, arg3, arg4, arg5,
arg6, arg7, arg8, arg9, arg10, arg11) { |
6 if (arg0 === void 0) | 6 if (arg0 === void 0) |
7 arg0 = null; | 7 arg0 = null; |
8 if (arg1 === void 0) | 8 if (arg1 === void 0) |
9 arg1 = null; | 9 arg1 = null; |
10 if (arg2 === void 0) | 10 if (arg2 === void 0) |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // Function JS_EMBEDDED_GLOBAL: (String, String) → dynamic | 104 // Function JS_EMBEDDED_GLOBAL: (String, String) → dynamic |
105 function JS_EMBEDDED_GLOBAL(typeDescription, name) { | 105 function JS_EMBEDDED_GLOBAL(typeDescription, name) { |
106 } | 106 } |
107 // Function JS_GET_FLAG: (String) → bool | 107 // Function JS_GET_FLAG: (String) → bool |
108 function JS_GET_FLAG(name) { | 108 function JS_GET_FLAG(name) { |
109 } | 109 } |
110 // Function JS_EFFECT: (Function) → void | 110 // Function JS_EFFECT: (Function) → void |
111 function JS_EFFECT(code) { | 111 function JS_EFFECT(code) { |
112 dart.dcall(code, null); | 112 dart.dcall(code, null); |
113 } | 113 } |
| 114 let code$ = Symbol('code'); |
114 class JS_CONST extends core.Object { | 115 class JS_CONST extends core.Object { |
| 116 get code() { |
| 117 return this[code$]; |
| 118 } |
115 JS_CONST(code) { | 119 JS_CONST(code) { |
116 this.code = code; | 120 this[code$] = code; |
117 } | 121 } |
118 } | 122 } |
119 // Function JS_STRING_CONCAT: (String, String) → String | 123 // Function JS_STRING_CONCAT: (String, String) → String |
120 function JS_STRING_CONCAT(a, b) { | 124 function JS_STRING_CONCAT(a, b) { |
121 return a + b; | 125 return a + b; |
122 } | 126 } |
123 // Exports: | 127 // Exports: |
124 exports.JS = JS; | 128 exports.JS = JS; |
125 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT; | 129 exports.JS_CURRENT_ISOLATE_CONTEXT = JS_CURRENT_ISOLATE_CONTEXT; |
126 exports.IsolateContext = IsolateContext; | 130 exports.IsolateContext = IsolateContext; |
(...skipping 19 matching lines...) Expand all Loading... |
146 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P
ARAMETERS_TAG; | 150 exports.JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG = JS_FUNCTION_TYPE_REQUIRED_P
ARAMETERS_TAG; |
147 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P
ARAMETERS_TAG; | 151 exports.JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG = JS_FUNCTION_TYPE_OPTIONAL_P
ARAMETERS_TAG; |
148 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET
ERS_TAG; | 152 exports.JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG = JS_FUNCTION_TYPE_NAMED_PARAMET
ERS_TAG; |
149 exports.JS_GET_NAME = JS_GET_NAME; | 153 exports.JS_GET_NAME = JS_GET_NAME; |
150 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL; | 154 exports.JS_EMBEDDED_GLOBAL = JS_EMBEDDED_GLOBAL; |
151 exports.JS_GET_FLAG = JS_GET_FLAG; | 155 exports.JS_GET_FLAG = JS_GET_FLAG; |
152 exports.JS_EFFECT = JS_EFFECT; | 156 exports.JS_EFFECT = JS_EFFECT; |
153 exports.JS_CONST = JS_CONST; | 157 exports.JS_CONST = JS_CONST; |
154 exports.JS_STRING_CONCAT = JS_STRING_CONCAT; | 158 exports.JS_STRING_CONCAT = JS_STRING_CONCAT; |
155 })(_foreign_helper || (_foreign_helper = {})); | 159 })(_foreign_helper || (_foreign_helper = {})); |
OLD | NEW |