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

Side by Side Diff: pkg/analyzer/test/generated/scanner_test.dart

Issue 214253002: Translate Java enums to Dart constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
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.scanner_test; 8 library engine.scanner_test;
9 9
10 import 'package:analyzer/src/generated/java_core.dart'; 10 import 'package:analyzer/src/generated/java_core.dart';
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 }); 1873 });
1874 }); 1874 });
1875 } 1875 }
1876 } 1876 }
1877 1877
1878 /** 1878 /**
1879 * Instances of the class `ExpectedLocation` encode information about the expect ed location 1879 * Instances of the class `ExpectedLocation` encode information about the expect ed location
1880 * of a given offset in source code. 1880 * of a given offset in source code.
1881 */ 1881 */
1882 class ScannerTest_ExpectedLocation { 1882 class ScannerTest_ExpectedLocation {
1883 int _offset = 0; 1883 final int _offset;
1884 1884
1885 int _lineNumber = 0; 1885 final int _lineNumber;
1886 1886
1887 int _columnNumber = 0; 1887 final int _columnNumber;
1888 1888
1889 ScannerTest_ExpectedLocation(int offset, int lineNumber, int columnNumber) { 1889 ScannerTest_ExpectedLocation(this._offset, this._lineNumber, this._columnNumbe r);
1890 this._offset = offset;
1891 this._lineNumber = lineNumber;
1892 this._columnNumber = columnNumber;
1893 }
1894 } 1890 }
1895 1891
1896 class IncrementalScannerTest extends EngineTestCase { 1892 class IncrementalScannerTest extends EngineTestCase {
1897 /** 1893 /**
1898 * The first token from the token stream resulting from parsing the original s ource, or 1894 * The first token from the token stream resulting from parsing the original s ource, or
1899 * `null` if [scan] has not been invoked. 1895 * `null` if [scan] has not been invoked.
1900 */ 1896 */
1901 Token _originalTokens; 1897 Token _originalTokens;
1902 1898
1903 /** 1899 /**
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
2414 } 2410 }
2415 } 2411 }
2416 2412
2417 main() { 2413 main() {
2418 CharSequenceReaderTest.dartSuite(); 2414 CharSequenceReaderTest.dartSuite();
2419 IncrementalScannerTest.dartSuite(); 2415 IncrementalScannerTest.dartSuite();
2420 KeywordStateTest.dartSuite(); 2416 KeywordStateTest.dartSuite();
2421 ScannerTest.dartSuite(); 2417 ScannerTest.dartSuite();
2422 TokenTypeTest.dartSuite(); 2418 TokenTypeTest.dartSuite();
2423 } 2419 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698