| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /// Records accesses to Dart program declarations and generates code that will | 5 /// Records accesses to Dart program declarations and generates code that will |
| 6 /// allow to do the same accesses at runtime using `package:smoke/static.dart`. | 6 /// allow to do the same accesses at runtime using `package:smoke/static.dart`. |
| 7 /// Internally, this library relies on the `analyzer` to extract data from the | 7 /// Internally, this library relies on the `analyzer` to extract data from the |
| 8 /// program, and then uses [SmokeCodeGenerator] to produce the code needed by | 8 /// program, and then uses [SmokeCodeGenerator] to produce the code needed by |
| 9 /// the smoke system. | 9 /// the smoke system. |
| 10 /// | 10 /// |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 final NameMatcher matches; | 396 final NameMatcher matches; |
| 397 | 397 |
| 398 const QueryOptions({this.includeFields: true, this.includeProperties: true, | 398 const QueryOptions({this.includeFields: true, this.includeProperties: true, |
| 399 this.includeInherited: true, this.includeUpTo: null, | 399 this.includeInherited: true, this.includeUpTo: null, |
| 400 this.excludeFinal: false, this.includeMethods: false, | 400 this.excludeFinal: false, this.includeMethods: false, |
| 401 this.withAnnotations: null, this.matches: null}); | 401 this.withAnnotations: null, this.matches: null}); |
| 402 } | 402 } |
| 403 | 403 |
| 404 /// Predicate that tells whether [name] should be included in query results. | 404 /// Predicate that tells whether [name] should be included in query results. |
| 405 typedef bool NameMatcher(String name); | 405 typedef bool NameMatcher(String name); |
| OLD | NEW |