Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: pkg/docgen/test/simple/bin/simple.dart

Issue 16948010: added Command Line Arguments, support for directories, hiding private data, not parsing the SDK, rem (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"]) {

Powered by Google App Engine
This is Rietveld 408576698