Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Next update: closer to a final release. #141

Merged
merged 9 commits into from
Oct 16, 2017

Conversation

matanlurey
Copy link
Contributor

Requires #140.

Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

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

LGTM

if (spec.extend != null) {
output.write(' extends ');
visitType(spec.extend.toType(), output);
visitType(spec.extend.type, output);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not aware how the visitor pattern is implemented here, but I'd not expect visit* methods call other visit* methods, and instead call accept on child nodes. E.g. here it would be spec.extend.type.accept(this, output).

return new BinaryExpression._(expression, other, '&&');
}

/// This expression preceding by `await`.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: preceded

@@ -26,28 +32,102 @@ abstract class Expression implements Spec {
@override
R accept<R>(covariant ExpressionVisitor<R> visitor, [R context]);

/// Returns the expression as a valid [Code] block.
/// The expression as a valid [Code] block.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: "This expression as..."?

@matanlurey matanlurey merged commit 9f922c9 into dart-archive:master Oct 16, 2017
@matanlurey matanlurey deleted the next-update branch October 16, 2017 17:50
mosuem pushed a commit to dart-lang/tools that referenced this pull request Oct 25, 2024
* Fix a number of issues.

* OK, add some tests.

* Add closures, some getters.

* Another refactor.

* Added FunctionType.

* Updated README.

* Dartfmt.

* Fix CHANGELOG.
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.

3 participants