Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

@matanlurey
Copy link
Contributor

@matanlurey
Copy link
Contributor Author

This also makes the package pub publish-able (cc @kevmoo)

yet implemented that make it unsuitable for all forms of code
generation.

**Contributions are [welcome][welcome]!**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the second "welcome" be inside round parens: (welcome)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[foo][bar] means that [bar] is defined lower in the markdown document, i.e:

[bar]: http://some-long-link-that-is-awkward-inline.com

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that there's an error in the [analyzer](analyzer) link above?


/// Builds a [ClassDeclaration] AST.
///
///
Copy link
Contributor

@yjbanov yjbanov Sep 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on the edge of my seat in suspense, waiting for docs to appear ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted

}
return new ImportBuilder._(astNode);
}
const factory ImportBuilder(String uri, {String as}) = ImportBuilder._;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as is a Dart keyword. How about withPrefix or just prefix? That's what the language spec calls them I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Changed to prefix

@matanlurey
Copy link
Contributor Author

Assuming travis passes (does locally) I'll squash and merge. Thanks!

@matanlurey matanlurey merged commit 1fafa99 into dart-archive:master Sep 19, 2016
@matanlurey matanlurey deleted the cleanup branch September 19, 2016 16:55
mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
…ode_builder#12)

* Make all builders lazy, remove AST cloning.

* Fix breakages due to bad refactor of FileBuilder

* Small pubspec increment

* Update pubspec to allow pub publish.

* Add headers, upstream analyzer patch API

* Address comments.

* Fix outstanding lints.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Support lazy ASTs wherever possible

3 participants