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

Side by Side Diff: pkg/analyzer/lib/src/generated/sdk_io.dart

Issue 624403002: Write end-of-block comments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/generated/scanner.dart ('k') | pkg/analyzer/test/generated/ast_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.sdk.io; 8 library engine.sdk.io;
9 9
10 import 'java_core.dart'; 10 import 'java_core.dart';
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 String get sdkVersion { 411 String get sdkVersion {
412 if (_sdkVersion == null) { 412 if (_sdkVersion == null) {
413 _sdkVersion = DartSdk.DEFAULT_VERSION; 413 _sdkVersion = DartSdk.DEFAULT_VERSION;
414 JavaFile revisionFile = new JavaFile.relative(_sdkDirectory, _VERSION_FILE _NAME); 414 JavaFile revisionFile = new JavaFile.relative(_sdkDirectory, _VERSION_FILE _NAME);
415 try { 415 try {
416 String revision = revisionFile.readAsStringSync(); 416 String revision = revisionFile.readAsStringSync();
417 if (revision != null) { 417 if (revision != null) {
418 _sdkVersion = revision.trim(); 418 _sdkVersion = revision.trim();
419 } 419 }
420 } on JavaIOException catch (exception) { 420 } on JavaIOException catch (exception) {
421 // Fall through to return the default.
421 } 422 }
422 } 423 }
423 return _sdkVersion; 424 return _sdkVersion;
424 } 425 }
425 426
426 /** 427 /**
427 * Return an array containing the library URI's for the libraries defined in t his SDK. 428 * Return an array containing the library URI's for the libraries defined in t his SDK.
428 * 429 *
429 * @return the library URI's for the libraries defined in this SDK 430 * @return the library URI's for the libraries defined in this SDK
430 */ 431 */
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 Parser parser = new Parser(source, errorListener); 606 Parser parser = new Parser(source, errorListener);
606 CompilationUnit unit = parser.parseCompilationUnit(scanner.tokenize()); 607 CompilationUnit unit = parser.parseCompilationUnit(scanner.tokenize());
607 SdkLibrariesReader_LibraryBuilder libraryBuilder = new SdkLibrariesReader_Li braryBuilder(_useDart2jsPaths); 608 SdkLibrariesReader_LibraryBuilder libraryBuilder = new SdkLibrariesReader_Li braryBuilder(_useDart2jsPaths);
608 // If any syntactic errors were found then don't try to visit the AST struct ure. 609 // If any syntactic errors were found then don't try to visit the AST struct ure.
609 if (!errorListener.errorReported) { 610 if (!errorListener.errorReported) {
610 unit.accept(libraryBuilder); 611 unit.accept(libraryBuilder);
611 } 612 }
612 return libraryBuilder.librariesMap; 613 return libraryBuilder.librariesMap;
613 } 614 }
614 } 615 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/scanner.dart ('k') | pkg/analyzer/test/generated/ast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698