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

Unified Diff: pkg/smoke/lib/static.dart

Issue 173473002: Adapting observe to use smoke (this is built on top of the previous change that (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « pkg/smoke/lib/smoke.dart ('k') | pkg/smoke/test/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/smoke/lib/static.dart
diff --git a/pkg/smoke/lib/static.dart b/pkg/smoke/lib/static.dart
index 95d22555dacdbda09925b0b5fc3ea5f09bdae30c..c2b518372ed046e0fa99c75ee8687f4106fbc825 100644
--- a/pkg/smoke/lib/static.dart
+++ b/pkg/smoke/lib/static.dart
@@ -164,6 +164,7 @@ class _GeneratedTypeInspectorService implements TypeInspectorService {
throw new MissingCodeException('declarations for $type');
}
for (var decl in map.values) {
+ if (!options.includeFields && decl.isField) continue;
if (!options.includeProperties && decl.isProperty) continue;
if (options.excludeFinal && decl.isFinal) continue;
if (!options.includeMethods && decl.isMethod) continue;
« no previous file with comments | « pkg/smoke/lib/smoke.dart ('k') | pkg/smoke/test/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698