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

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

Issue 2832403002: merge PrecedenceInfo into TokenType and update all refs (Closed)
Patch Set: rebase Created 3 years, 8 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart' as analyzer; 6 import 'package:analyzer/dart/ast/token.dart' as analyzer;
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/error/error.dart'; 8 import 'package:analyzer/error/error.dart';
9 import 'package:analyzer/src/fasta/ast_builder.dart'; 9 import 'package:analyzer/src/fasta/ast_builder.dart';
10 import 'package:analyzer/src/fasta/element_store.dart'; 10 import 'package:analyzer/src/fasta/element_store.dart';
11 import 'package:analyzer/src/generated/parser.dart' as analyzer; 11 import 'package:analyzer/src/generated/parser.dart' as analyzer;
12 import 'package:analyzer/src/generated/utilities_dart.dart'; 12 import 'package:analyzer/src/generated/utilities_dart.dart';
13 import 'package:front_end/src/fasta/kernel/kernel_builder.dart'; 13 import 'package:front_end/src/fasta/kernel/kernel_builder.dart';
14 import 'package:front_end/src/fasta/kernel/kernel_library_builder.dart'; 14 import 'package:front_end/src/fasta/kernel/kernel_library_builder.dart';
15 import 'package:front_end/src/fasta/parser/identifier_context.dart' 15 import 'package:front_end/src/fasta/parser/identifier_context.dart'
16 show IdentifierContext; 16 show IdentifierContext;
17 import 'package:front_end/src/fasta/parser/parser.dart' as fasta; 17 import 'package:front_end/src/fasta/parser/parser.dart' as fasta;
18 import 'package:front_end/src/fasta/scanner/precedence.dart' as fasta;
19 import 'package:front_end/src/fasta/scanner/string_scanner.dart'; 18 import 'package:front_end/src/fasta/scanner/string_scanner.dart';
20 import 'package:front_end/src/fasta/scanner/token.dart' as fasta; 19 import 'package:front_end/src/fasta/scanner/token.dart' as fasta;
21 import 'package:test/test.dart'; 20 import 'package:test/test.dart';
22 import 'package:test_reflective_loader/test_reflective_loader.dart'; 21 import 'package:test_reflective_loader/test_reflective_loader.dart';
23 22
24 import 'parser_test.dart'; 23 import 'parser_test.dart';
25 24
26 main() { 25 main() {
27 defineReflectiveSuite(() { 26 defineReflectiveSuite(() {
28 defineReflectiveTests(ClassMemberParserTest_Fasta); 27 defineReflectiveTests(ClassMemberParserTest_Fasta);
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 } 971 }
973 972
974 @override 973 @override
975 @failingTest 974 @failingTest
976 void test_parsePartOfDirective_uri() { 975 void test_parsePartOfDirective_uri() {
977 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 976 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
978 // Fasta. 977 // Fasta.
979 super.test_parsePartOfDirective_uri(); 978 super.test_parsePartOfDirective_uri();
980 } 979 }
981 } 980 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/token_utils.dart ('k') | pkg/compiler/lib/src/parser/element_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698