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

Unified Diff: pkg/analysis_server/lib/src/services/completion/local_declaration_visitor.dart

Issue 969113002: 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/analysis_server/lib/src/services/completion/local_declaration_visitor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/local_declaration_visitor.dart b/pkg/analysis_server/lib/src/services/completion/local_declaration_visitor.dart
index 449e8be8cd70745c5c6e44cb09a8d298e307e646..31d59fcd2bd308474a55b44ecdf2d6a20018202e 100644
--- a/pkg/analysis_server/lib/src/services/completion/local_declaration_visitor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/local_declaration_visitor.dart
@@ -14,10 +14,8 @@ import 'package:analyzer/src/generated/scanner.dart';
* which catches the exception thrown by [finished()].
*/
abstract class LocalDeclarationVisitor extends GeneralizingAstVisitor {
-
- static final TypeName STACKTRACE_TYPE = new TypeName(
- new SimpleIdentifier(new StringToken(TokenType.IDENTIFIER, 'StackTrace', 0)),
- null);
+ static final TypeName STACKTRACE_TYPE = new TypeName(new SimpleIdentifier(
+ new StringToken(TokenType.IDENTIFIER, 'StackTrace', 0)), null);
final int offset;
@@ -41,8 +39,8 @@ abstract class LocalDeclarationVisitor extends GeneralizingAstVisitor {
void declaredParam(SimpleIdentifier name, TypeName type);
- void declaredTopLevelVar(VariableDeclarationList varList,
- VariableDeclaration varDecl);
+ void declaredTopLevelVar(
+ VariableDeclarationList varList, VariableDeclaration varDecl);
/**
* Throw an exception indicating that [LocalDeclarationVisitor] should
@@ -263,5 +261,4 @@ abstract class LocalDeclarationVisitor extends GeneralizingAstVisitor {
* Internal exception used to indicate that [LocalDeclarationVisitor]
* should stop visiting.
*/
-class _LocalDeclarationVisitorFinished {
-}
+class _LocalDeclarationVisitorFinished {}

Powered by Google App Engine
This is Rietveld 408576698