add specific macro implementations and delegate to them (#97)

Part of https://github.com/dart-lang/macros/issues/91

Sending this out a bit early - this is I think the smallest chunk I could tackle independently, but it would be nice to get a review before you leave.

The next step would be passing the actual target through to the macro api, probably instead of the AugmentRequest. 
12 files changed
tree: 207045d2da8290519f718f48d66ad40cba5c908b
  1. .github/
  2. goldens/
  3. pkgs/
  4. schemas/
  5. tool/
  6. .gitattributes
  7. .gitignore
  8. CONTRIBUTING.md
  9. LICENSE
  10. mono_repo.yaml
  11. pubspec.yaml
  12. README.md
README.md

Overview

This repository is home to various macro related Dart packages.

Packages

PackageDescriptionVersion
_analyzer_macrosMacro support for the analyzer.
_cfe_macrosMacro support for the CFE.
_macro_builderBuilds macros.
_macro_clientConnects user macro code to a macro host.
_macro_hostHosts macros.
_macro_runnerRuns macros.
_macro_serverServes a macro_service.
_test_macrosSome test macros.
dart_modelData model for information about Dart code, queries about Dart code and augmentations to Dart code. Serializable with a versioned JSON schema for use by macros, generators and other tools.pub package
macroFor implementing a macro.pub package
macro_serviceMacro communication with the macro host.pub package
generate_dart_model

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.