Simplify TopLevelIncludes visitor (#180)

This is a static method on a private class so there is no usage outside
the library and it is safe to refactor.

The returned `bool` was not read, and the `messages` argument was
unused. Remove both to simplify `replace()` implementation.
1 file changed
tree: c2e11af04da3e8b0773ea69fd3a3b7f223d79862
  1. .github/
  2. example/
  3. lib/
  4. test/
  5. third_party/
  6. .gitignore
  7. analysis_options.yaml
  8. CHANGELOG.md
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

Dart CI pub package package publisher

A Dart CSS parser.

Usage

Parsing CSS is easy!

import 'package:csslib/parser.dart';

main() {
  var stylesheet = parse(
      '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }');
  print(stylesheet.toDebugString());
}

You can pass a String or List<int> to parse.