| 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 | |
| 6 // significant change. Please see the README file for more information. | |
| 7 | |
| 8 library engine.parser_test; | 5 library engine.parser_test; |
| 9 | 6 |
| 10 import 'package:analyzer/src/generated/ast.dart'; | 7 import 'package:analyzer/src/generated/ast.dart'; |
| 11 import 'package:analyzer/src/generated/element.dart'; | 8 import 'package:analyzer/src/generated/element.dart'; |
| 12 import 'package:analyzer/src/generated/error.dart'; | 9 import 'package:analyzer/src/generated/error.dart'; |
| 10 import 'package:analyzer/src/generated/incremental_scanner.dart'; |
| 13 import 'package:analyzer/src/generated/parser.dart'; | 11 import 'package:analyzer/src/generated/parser.dart'; |
| 14 import 'package:analyzer/src/generated/scanner.dart'; | 12 import 'package:analyzer/src/generated/scanner.dart'; |
| 15 import 'package:analyzer/src/generated/source.dart' show Source; | 13 import 'package:analyzer/src/generated/source.dart' show Source; |
| 16 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 14 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
| 17 import 'package:analyzer/src/generated/testing/element_factory.dart'; | 15 import 'package:analyzer/src/generated/testing/element_factory.dart'; |
| 18 import 'package:analyzer/src/generated/testing/token_factory.dart'; | 16 import 'package:analyzer/src/generated/testing/token_factory.dart'; |
| 19 import 'package:analyzer/src/generated/utilities_dart.dart'; | 17 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 20 import 'package:unittest/unittest.dart'; | 18 import 'package:unittest/unittest.dart'; |
| 21 | 19 |
| 22 import '../reflective_tests.dart'; | 20 import '../reflective_tests.dart'; |
| (...skipping 10813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10836 // Parse the source. | 10834 // Parse the source. |
| 10837 // | 10835 // |
| 10838 Parser parser = new Parser(null, listener); | 10836 Parser parser = new Parser(null, listener); |
| 10839 return invokeParserMethodImpl( | 10837 return invokeParserMethodImpl( |
| 10840 parser, | 10838 parser, |
| 10841 methodName, | 10839 methodName, |
| 10842 <Object>[tokenStream], | 10840 <Object>[tokenStream], |
| 10843 tokenStream) as Token; | 10841 tokenStream) as Token; |
| 10844 } | 10842 } |
| 10845 } | 10843 } |
| OLD | NEW |