mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
201bce4219
- Add a new VM object called a Namespace. - A Namespace is a library, and two list of names to hide/show. - Convert Library and LibraryPrefix to contain Namespace objects instead of Libraries in their import list. Review URL: https://codereview.chromium.org//10967052 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12804 260f80e4-7a28-3924-810f-c04153c831b5
19 lines
398 B
Dart
19 lines
398 B
Dart
// Copyright (c) 2012, 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.
|
|
|
|
library import1_lib;
|
|
|
|
|
|
int libfunc(a, b) => a + b;
|
|
|
|
var show = 'show';
|
|
var hide = 'hide';
|
|
|
|
var ugly = 'ugly';
|
|
|
|
class Q {
|
|
var _s;
|
|
Q(s) : _s = s;
|
|
toString() => "LQQK: '$_s'";
|
|
}
|