blob: c418b410a77cec768ee2f7bbeb38c4c13d061183 [file] [log] [blame]
// Copyright (c) 2017, 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.
/// ignore: IMPORT_INTERNAL_LIBRARY
import 'dart:_foreign_helper';
/// ignore: IMPORT_INTERNAL_LIBRARY, UNUSED_IMPORT
import 'dart:_interceptors';
/*member: main:[null|powerset={null}]*/
main() {
jsCallInt();
jsCallEmpty();
jsCallVoid();
jsCallUnion();
jsStringConcat();
}
/*member: jsCallEmpty:[null|subclass=Object|powerset={null}{IN}]*/
jsCallEmpty() => JS('', '#', 0);
/*member: jsCallInt:[subclass=JSInt|powerset={I}]*/
jsCallInt() => JS('int', '#', 0);
/*member: jsCallVoid:[null|subclass=Object|powerset={null}{IN}]*/
jsCallVoid() => JS('void', '#', 0);
/*member: jsCallUnion:Union([exact=JSString|powerset={I}], [subclass=JSInt|powerset={I}], powerset: {I})*/
jsCallUnion() => JS('int|String', '#', 0);
/*member: jsStringConcat:[exact=JSString|powerset={I}]*/
jsStringConcat() => JS_STRING_CONCAT('a', 'b');