dart-archive / smoke

Smoke is a Dart package that exposes a reduced reflective system API. This API includes accessing objects in a dynamic fashion (read properties, write properties, and call methods), inspecting types (for example, whether a method exists), and symbol/string convention.
https://pub.dartlang.org/packages/smoke
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

implement excludeOverrides in runQuery #24

Open sigmundch opened 9 years ago

sigmundch commented 9 years ago

After #22, we'll have support for filtering out overriden members. This works correctly with the current codegen strategy, but we might be including members that we don't need.

Adding the option to runQuery could help make the output a bit smaller, but it's likely not going to be a big difference.

donny-dont commented 9 years ago

When I was trying to accomplish this one thing I ran into was that the results go deep first where the super classes are generated first. It would be easier to accomplish this if it was bottom up. I wasn't sure if doing that would cause issues so I backed off the patch.