| Index: pkg/docgen/test/simple/bin/simple.dart
|
| diff --git a/pkg/docgen/example/test.dart b/pkg/docgen/test/simple/bin/simple.dart
|
| old mode 100755
|
| new mode 100644
|
| similarity index 72%
|
| rename from pkg/docgen/example/test.dart
|
| rename to pkg/docgen/test/simple/bin/simple.dart
|
| index d93b63ff75ba99495ee83e4801ae63f174032dd8..dd4aeb0fd73d511b73ddec1102b62b1363349df3
|
| --- a/pkg/docgen/example/test.dart
|
| +++ b/pkg/docgen/test/simple/bin/simple.dart
|
| @@ -11,23 +11,31 @@ library DummyLibrary;
|
|
|
| import 'dart:json';
|
| import 'dart:math';
|
| +import 'package:args/args.dart';
|
| +
|
| +part 'second.dart';
|
| +part 'sub_dir/sub_directory.dart';
|
|
|
| /// Doc comment for top-level variable.
|
| int _variable1 = 0;
|
|
|
| void set variable1(int abc) => _variable1 = abc;
|
|
|
| -abstract class B {
|
| +void _printVariable1() => print(_variable1);
|
| +
|
| +abstract class _B {
|
|
|
| }
|
|
|
| /**
|
| * Doc comment for class A.
|
| + *
|
| + * Multiline Test
|
| */
|
| /*
|
| * Normal comment for class A.
|
| */
|
| -class A implements B {
|
| +class A implements _B {
|
|
|
| /**
|
| * Markdown _test_ for **class** [A]
|
| @@ -37,7 +45,12 @@ class A implements B {
|
| A() {
|
| _someNumber = 12;
|
| }
|
| +
|
| + A.withThree() {
|
| + _someNumber = 3;
|
| + }
|
|
|
| + /// Originally set to 12 in constructor [A], use [A.withThree] for 3.
|
| int get someNumber => _someNumber;
|
|
|
| void doThis(int a) {
|
| @@ -50,9 +63,12 @@ class A implements B {
|
|
|
| }
|
|
|
| +/// trying to link to [ArgParser]
|
| main() {
|
| A a = new A();
|
| print(a.someNumber);
|
| + C c = new C();
|
| + c.doThis(5);
|
| }
|
|
|
| A getA(int testInt, [String testString="default"]) {
|
|
|