| 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/analyzer/token_utils.dart'; | 5 import 'package:analyzer/src/fasta/token_utils.dart'; |
| 6 import 'package:front_end/src/fasta/scanner/precedence.dart'; | 6 import 'package:front_end/src/fasta/scanner/precedence.dart'; |
| 7 import 'package:front_end/src/scanner/token.dart'; | 7 import 'package:front_end/src/scanner/token.dart'; |
| 8 import 'package:front_end/src/fasta/scanner/string_scanner.dart'; | 8 import 'package:front_end/src/fasta/scanner/string_scanner.dart'; |
| 9 import 'package:test/test.dart'; | 9 import 'package:test/test.dart'; |
| 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 11 | 11 |
| 12 import 'scanner_fasta_test.dart'; | 12 import 'scanner_fasta_test.dart'; |
| 13 import 'scanner_test.dart'; | 13 import 'scanner_test.dart'; |
| 14 | 14 |
| 15 main() { | 15 main() { |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 257 |
| 258 for (PrecedenceInfo info in PrecedenceInfo.all) { | 258 for (PrecedenceInfo info in PrecedenceInfo.all) { |
| 259 assertIsOperator(info.value, operatorLexemes.contains(info.value)); | 259 assertIsOperator(info.value, operatorLexemes.contains(info.value)); |
| 260 } | 260 } |
| 261 | 261 |
| 262 for (TokenType tt in new List.from(allTokenTypes)) { | 262 for (TokenType tt in new List.from(allTokenTypes)) { |
| 263 assertIsOperator(tt.lexeme, operatorTokenTypes.contains(tt)); | 263 assertIsOperator(tt.lexeme, operatorTokenTypes.contains(tt)); |
| 264 } | 264 } |
| 265 } | 265 } |
| 266 } | 266 } |
| OLD | NEW |