| OLD | NEW |
| 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:front_end/src/fasta/scanner/error_token.dart' as fasta; | 5 import 'package:front_end/src/fasta/scanner/error_token.dart' as fasta; |
| 6 import 'package:front_end/src/fasta/scanner/keyword.dart' as fasta; | 6 import 'package:front_end/src/fasta/scanner/keyword.dart' as fasta; |
| 7 import 'package:front_end/src/fasta/scanner/string_scanner.dart' as fasta; | 7 import 'package:front_end/src/fasta/scanner/string_scanner.dart' as fasta; |
| 8 import 'package:front_end/src/fasta/scanner/token.dart' as fasta; | 8 import 'package:front_end/src/fasta/scanner/token.dart' as fasta; |
| 9 import 'package:front_end/src/fasta/scanner/token_constants.dart' as fasta; | 9 import 'package:front_end/src/fasta/scanner/token_constants.dart' as fasta; |
| 10 import 'package:front_end/src/scanner/errors.dart'; | 10 import 'package:front_end/src/scanner/errors.dart'; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 @failingTest | 161 @failingTest |
| 162 void test_comment_generic_method_type_list() { | 162 void test_comment_generic_method_type_list() { |
| 163 // TODO(paulberry,ahe): Fasta doesn't support generic method comment syntax. | 163 // TODO(paulberry,ahe): Fasta doesn't support generic method comment syntax. |
| 164 super.test_comment_generic_method_type_list(); | 164 super.test_comment_generic_method_type_list(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 @override | 167 @override |
| 168 @failingTest | 168 @failingTest |
| 169 void test_index() { | 169 void test_index() { |
| 170 // TODO(paulberry,ahe): "[]" should be parsed as a single token. | 170 // TODO(paulberry,ahe): "[]" should be parsed as a single token. |
| 171 // See dartbug.com/28665. |
| 171 super.test_index(); | 172 super.test_index(); |
| 172 } | 173 } |
| 173 | 174 |
| 174 @override | 175 @override |
| 175 @failingTest | 176 @failingTest |
| 176 void test_index_eq() { | 177 void test_index_eq() { |
| 177 // TODO(paulberry,ahe): "[]=" should be parsed as a single token. | 178 // TODO(paulberry,ahe): "[]=" should be parsed as a single token. |
| 179 // See dartbug.com/28665. |
| 178 super.test_index_eq(); | 180 super.test_index_eq(); |
| 179 } | 181 } |
| 180 | 182 |
| 181 @override | 183 @override |
| 182 @failingTest | 184 @failingTest |
| 183 void test_scriptTag_withArgs() { | 185 void test_scriptTag_withArgs() { |
| 184 // TODO(paulberry,ahe): script tags are needed by analyzer. | 186 // TODO(paulberry,ahe): script tags are needed by analyzer. |
| 185 super.test_scriptTag_withArgs(); | 187 super.test_scriptTag_withArgs(); |
| 186 } | 188 } |
| 187 | 189 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 return TokenType.QUESTION_PERIOD; | 520 return TokenType.QUESTION_PERIOD; |
| 519 case fasta.QUESTION_QUESTION_TOKEN: | 521 case fasta.QUESTION_QUESTION_TOKEN: |
| 520 return TokenType.QUESTION_QUESTION; | 522 return TokenType.QUESTION_QUESTION; |
| 521 case fasta.QUESTION_QUESTION_EQ_TOKEN: | 523 case fasta.QUESTION_QUESTION_EQ_TOKEN: |
| 522 return TokenType.QUESTION_QUESTION_EQ; | 524 return TokenType.QUESTION_QUESTION_EQ; |
| 523 default: | 525 default: |
| 524 throw new UnimplementedError('$kind'); | 526 throw new UnimplementedError('$kind'); |
| 525 } | 527 } |
| 526 } | 528 } |
| 527 } | 529 } |
| OLD | NEW |