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

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

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment Created 4 years, 3 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
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 library analyzer.test.generated.parser_test; 5 library analyzer.test.generated.parser_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/ast/token.dart'; 8 import 'package:analyzer/dart/ast/token.dart';
9 import 'package:analyzer/dart/ast/visitor.dart'; 9 import 'package:analyzer/dart/ast/visitor.dart';
10 import 'package:analyzer/error/error.dart';
11 import 'package:analyzer/error/listener.dart';
10 import 'package:analyzer/src/dart/ast/token.dart'; 12 import 'package:analyzer/src/dart/ast/token.dart';
11 import 'package:analyzer/src/dart/scanner/reader.dart'; 13 import 'package:analyzer/src/dart/scanner/reader.dart';
12 import 'package:analyzer/src/dart/scanner/scanner.dart'; 14 import 'package:analyzer/src/dart/scanner/scanner.dart';
13 import 'package:analyzer/src/generated/error.dart';
14 import 'package:analyzer/src/generated/parser.dart'; 15 import 'package:analyzer/src/generated/parser.dart';
15 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 16 import 'package:analyzer/src/generated/testing/ast_factory.dart';
16 import 'package:analyzer/src/generated/testing/token_factory.dart'; 17 import 'package:analyzer/src/generated/testing/token_factory.dart';
17 import 'package:analyzer/src/generated/utilities_dart.dart'; 18 import 'package:analyzer/src/generated/utilities_dart.dart';
18 import 'package:test_reflective_loader/test_reflective_loader.dart'; 19 import 'package:test_reflective_loader/test_reflective_loader.dart';
19 import 'package:unittest/unittest.dart' hide Configuration; 20 import 'package:unittest/unittest.dart' hide Configuration;
20 21
21 import '../utils.dart'; 22 import '../utils.dart';
22 import 'test_support.dart'; 23 import 'test_support.dart';
23 24
(...skipping 10981 matching lines...) Expand 10 before | Expand all | Expand 10 after
11005 new Scanner(null, new CharSequenceReader(source), listener); 11006 new Scanner(null, new CharSequenceReader(source), listener);
11006 Token tokenStream = scanner.tokenize(); 11007 Token tokenStream = scanner.tokenize();
11007 // 11008 //
11008 // Parse the source. 11009 // Parse the source.
11009 // 11010 //
11010 Parser parser = new Parser(null, listener); 11011 Parser parser = new Parser(null, listener);
11011 return invokeParserMethodImpl( 11012 return invokeParserMethodImpl(
11012 parser, methodName, <Object>[tokenStream], tokenStream) as Token; 11013 parser, methodName, <Object>[tokenStream], tokenStream) as Token;
11013 } 11014 }
11014 } 11015 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/non_hint_code_test.dart ('k') | pkg/analyzer/test/generated/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698