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

Unified Diff: pkg/analysis_server/tool/spec/codegen_tools.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
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_matchers.dart ('k') | pkg/analysis_server/tool/spec/from_html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/codegen_tools.dart
diff --git a/pkg/analysis_server/tool/spec/codegen_tools.dart b/pkg/analysis_server/tool/spec/codegen_tools.dart
index a32ea91f5c163f4b0c1cf802c21a6742fe0ab0c5..0997b33b8fb39444b6f938f4f6571a6cac673fdd 100644
--- a/pkg/analysis_server/tool/spec/codegen_tools.dart
+++ b/pkg/analysis_server/tool/spec/codegen_tools.dart
@@ -117,8 +117,8 @@ class CodeGenerator {
* The first line of output is indented by [firstAdditionalIndent] instead of
* [additionalIndent].
*/
- void indentSpecial(String firstAdditionalIndent, String additionalIndent, void
- callback()) {
+ void indentSpecial(
+ String firstAdditionalIndent, String additionalIndent, void callback()) {
String oldNextIndent = _state.nextIndent;
String oldIndent = _state.indent;
try {
@@ -237,9 +237,10 @@ class CodeGeneratorSettings {
*/
int commentLineLength;
- CodeGeneratorSettings({this.languageName: 'java', this.lineCommentLineLeader:
- '// ', this.docCommentStartMarker: '/**', this.docCommentLineLeader: ' * ',
- this.docCommentEndMarker: ' */', this.commentLineLength: 99});
+ CodeGeneratorSettings({this.languageName: 'java',
+ this.lineCommentLineLeader: '// ', this.docCommentStartMarker: '/**',
+ this.docCommentLineLeader: ' * ', this.docCommentEndMarker: ' */',
+ this.commentLineLength: 99});
}
abstract class GeneratedContent {
@@ -290,9 +291,8 @@ class GeneratedDirectory extends GeneratedContent {
}
}
int nonHiddenFileCount = 0;
- outputFile.listSync(
- recursive: false,
- followLinks: false).forEach((FileSystemEntity fileSystemEntity) {
+ outputFile.listSync(recursive: false, followLinks: false).forEach(
+ (FileSystemEntity fileSystemEntity) {
if (fileSystemEntity is File &&
!basename(fileSystemEntity.path).startsWith('.')) {
nonHiddenFileCount++;
« no previous file with comments | « pkg/analysis_server/tool/spec/codegen_matchers.dart ('k') | pkg/analysis_server/tool/spec/from_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698