Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: pkg/analyzer/lib/src/generated/visitors.dart

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/generated/visitors.dart
diff --git a/pkg/analyzer/lib/src/generated/visitors.dart b/pkg/analyzer/lib/src/generated/visitors.dart
index 4e3101c0e2d79a6d08bcb8f625a54edd6cf964b7..defb317c49229960b98bf433e5b0b3c719d323ae 100644
--- a/pkg/analyzer/lib/src/generated/visitors.dart
+++ b/pkg/analyzer/lib/src/generated/visitors.dart
@@ -9,7 +9,6 @@ import 'package:analyzer/src/generated/ast.dart';
/// An [AstVisitor] that delegates calls to visit methods to all [delegates]
/// before calling [visitChildren].
class DelegatingAstVisitor<T> implements AstVisitor<T> {
-
Iterable<AstVisitor<T>> _delegates;
DelegatingAstVisitor(this._delegates);
@@ -155,16 +154,16 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitConstructorDeclaration(ConstructorDeclaration node) {
- _delegates.forEach(
- (delegate) => delegate.visitConstructorDeclaration(node));
+ _delegates
+ .forEach((delegate) => delegate.visitConstructorDeclaration(node));
node.visitChildren(this);
return null;
}
@override
T visitConstructorFieldInitializer(ConstructorFieldInitializer node) {
- _delegates.forEach(
- (delegate) => delegate.visitConstructorFieldInitializer(node));
+ _delegates
+ .forEach((delegate) => delegate.visitConstructorFieldInitializer(node));
node.visitChildren(this);
return null;
}
@@ -192,8 +191,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitDefaultFormalParameter(DefaultFormalParameter node) {
- _delegates.forEach(
- (delegate) => delegate.visitDefaultFormalParameter(node));
+ _delegates
+ .forEach((delegate) => delegate.visitDefaultFormalParameter(node));
node.visitChildren(this);
return null;
}
@@ -228,8 +227,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitEnumConstantDeclaration(EnumConstantDeclaration node) {
- _delegates.forEach(
- (delegate) => delegate.visitEnumConstantDeclaration(node));
+ _delegates
+ .forEach((delegate) => delegate.visitEnumConstantDeclaration(node));
node.visitChildren(this);
return null;
}
@@ -250,8 +249,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitExpressionFunctionBody(ExpressionFunctionBody node) {
- _delegates.forEach(
- (delegate) => delegate.visitExpressionFunctionBody(node));
+ _delegates
+ .forEach((delegate) => delegate.visitExpressionFunctionBody(node));
node.visitChildren(this);
return null;
}
@@ -386,8 +385,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitInstanceCreationExpression(InstanceCreationExpression node) {
- _delegates.forEach(
- (delegate) => delegate.visitInstanceCreationExpression(node));
+ _delegates
+ .forEach((delegate) => delegate.visitInstanceCreationExpression(node));
node.visitChildren(this);
return null;
}
@@ -401,8 +400,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitInterpolationExpression(InterpolationExpression node) {
- _delegates.forEach(
- (delegate) => delegate.visitInterpolationExpression(node));
+ _delegates
+ .forEach((delegate) => delegate.visitInterpolationExpression(node));
node.visitChildren(this);
return null;
}
@@ -513,8 +512,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitParenthesizedExpression(ParenthesizedExpression node) {
- _delegates.forEach(
- (delegate) => delegate.visitParenthesizedExpression(node));
+ _delegates
+ .forEach((delegate) => delegate.visitParenthesizedExpression(node));
node.visitChildren(this);
return null;
}
@@ -561,8 +560,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
}
@override
- T
- visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) {
+ T visitRedirectingConstructorInvocation(
+ RedirectingConstructorInvocation node) {
_delegates.forEach(
(delegate) => delegate.visitRedirectingConstructorInvocation(node));
node.visitChildren(this);
@@ -627,8 +626,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitSuperConstructorInvocation(SuperConstructorInvocation node) {
- _delegates.forEach(
- (delegate) => delegate.visitSuperConstructorInvocation(node));
+ _delegates
+ .forEach((delegate) => delegate.visitSuperConstructorInvocation(node));
node.visitChildren(this);
return null;
}
@@ -684,8 +683,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitTopLevelVariableDeclaration(TopLevelVariableDeclaration node) {
- _delegates.forEach(
- (delegate) => delegate.visitTopLevelVariableDeclaration(node));
+ _delegates
+ .forEach((delegate) => delegate.visitTopLevelVariableDeclaration(node));
node.visitChildren(this);
return null;
}
@@ -734,8 +733,8 @@ class DelegatingAstVisitor<T> implements AstVisitor<T> {
@override
T visitVariableDeclarationList(VariableDeclarationList node) {
- _delegates.forEach(
- (delegate) => delegate.visitVariableDeclarationList(node));
+ _delegates
+ .forEach((delegate) => delegate.visitVariableDeclarationList(node));
node.visitChildren(this);
return null;
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/testing/test_type_provider.dart ('k') | pkg/analyzer/lib/src/services/formatter_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698