| OLD | NEW |
| 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 Loading... |
| 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 final int _offset; | 1883 int _offset = 0; |
| 1884 | 1884 |
| 1885 final int _lineNumber; | 1885 int _lineNumber = 0; |
| 1886 | 1886 |
| 1887 final int _columnNumber; | 1887 int _columnNumber = 0; |
| 1888 | 1888 |
| 1889 ScannerTest_ExpectedLocation(this._offset, this._lineNumber, this._columnNumbe
r); | 1889 ScannerTest_ExpectedLocation(int offset, int lineNumber, int columnNumber) { |
| 1890 this._offset = offset; |
| 1891 this._lineNumber = lineNumber; |
| 1892 this._columnNumber = columnNumber; |
| 1893 } |
| 1890 } | 1894 } |
| 1891 | 1895 |
| 1892 class IncrementalScannerTest extends EngineTestCase { | 1896 class IncrementalScannerTest extends EngineTestCase { |
| 1893 /** | 1897 /** |
| 1894 * The first token from the token stream resulting from parsing the original s
ource, or | 1898 * The first token from the token stream resulting from parsing the original s
ource, or |
| 1895 * `null` if [scan] has not been invoked. | 1899 * `null` if [scan] has not been invoked. |
| 1896 */ | 1900 */ |
| 1897 Token _originalTokens; | 1901 Token _originalTokens; |
| 1898 | 1902 |
| 1899 /** | 1903 /** |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2410 } | 2414 } |
| 2411 } | 2415 } |
| 2412 | 2416 |
| 2413 main() { | 2417 main() { |
| 2414 CharSequenceReaderTest.dartSuite(); | 2418 CharSequenceReaderTest.dartSuite(); |
| 2415 IncrementalScannerTest.dartSuite(); | 2419 IncrementalScannerTest.dartSuite(); |
| 2416 KeywordStateTest.dartSuite(); | 2420 KeywordStateTest.dartSuite(); |
| 2417 ScannerTest.dartSuite(); | 2421 ScannerTest.dartSuite(); |
| 2418 TokenTypeTest.dartSuite(); | 2422 TokenTypeTest.dartSuite(); |
| 2419 } | 2423 } |
| OLD | NEW |