Files
sdk/pkg/docgen/test/multi_library_code/lib/test_lib.dart
T
kevmoo@google.com f4b296daed pkg/docgen: the big refactor
Separated code into mini-libraries
Eliminated "static" classes in favor of named imports

R=efortuna@google.com

Review URL: https://codereview.chromium.org//209563002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34313 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-24 16:46:17 +00:00

42 lines
760 B
Dart

// Copyright (c) 2014, 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 test_lib;
import 'test_lib_foo.dart';
import 'test_lib_bar.dart';
export 'test_lib_foo.dart';
export 'test_lib_bar.dart';
/**
* Doc comment for class [A].
*
* Multiline Test
*/
/*
* Normal comment for class A.
*/
class A {
int _someNumber;
A() {
_someNumber = 12;
}
A.customConstructor();
/**
* Test for linking to parameter [A]
*/
void doThis(int A) {
print(A);
}
}
// A trivial use of `B` and `C` to eliminate import warnings
B sampleMethod(C cInstance) {
throw new UnimplementedError();
}