92267afc66
- Separate out parsing a status file from applying the environment to determine which sections are active. This makes it possible to, for example, generate expectation sets for multiple environments without having to reparse each time. - Simplify expression parsing. Remove set expressions since they weren't used for anything useful. A test's expectations are a simple comma-separated list and don't need anything beyond that. Merge Scanner and Tokenizer since the latter was a glorified function. - Make more names private so that it's clearer what's used outside of various libraries. - Generally modernize the style. - Add *lots* of documentation. Again, there should be no behavioral changes. I ran: ./tools/test.py -m release,debug -c none,dart2js,dart2analyzer -r none,vm,d8 corelib Before and after the change and verified that the output was the same (aside from timing). R=sigmund@google.com Review-Url: https://codereview.chromium.org/2891753003 .