Files
sdk/pkg/docgen/test/multi_library_code/lib/dottedLibraryName.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

39 lines
1.1 KiB
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 library.name.wiith.dots.init;
/// This library is purely for testing purposes, to ensure
/// that we have a library that has dots in its name and
/// that it works properly
///
/// In addition, it's nice to have something which has paragraph
/// breaks inside a triple-slash doc comment.
///
/// Like this.
/// This is a top level field holding the number three;
int topLevelInt = 3;
/// This is a class with various ways of getting the number three.
///
/// It also has a comment with paragraph breaks.
class SomeClass {
/// This is a method that returns the number three. See
/// [three]
someMethod() => 3;
/// This is a symbolic representation of the number three.
int three = 3;
}
/// This is another class.
class AnotherClass {
/// This method returns [List<int>] containing the number
/// three three times. Compare with [SomeClass.someMethod].
List<int> anotherMethod() {
return const [3, 3, 3];
}
}