| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 fasta.parser.parser; | 5 library fasta.parser.parser; |
| 6 | 6 |
| 7 import '../fasta_codes.dart' | 7 import '../fasta_codes.dart' |
| 8 show | 8 show |
| 9 FastaCode, | 9 FastaCode, |
| 10 FastaMessage, | 10 FastaMessage, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 codeUnspecified, | 51 codeUnspecified, |
| 52 codeUnsupportedPrefixPlus, | 52 codeUnsupportedPrefixPlus, |
| 53 codeUnterminatedString, | 53 codeUnterminatedString, |
| 54 codeYieldAsIdentifier, | 54 codeYieldAsIdentifier, |
| 55 codeYieldNotGenerator; | 55 codeYieldNotGenerator; |
| 56 | 56 |
| 57 import '../scanner.dart' show ErrorToken; | 57 import '../scanner.dart' show ErrorToken; |
| 58 | 58 |
| 59 import '../scanner/recover.dart' show closeBraceFor, skipToEof; | 59 import '../scanner/recover.dart' show closeBraceFor, skipToEof; |
| 60 | 60 |
| 61 import '../scanner/keyword.dart' show Keyword; | 61 import '../../scanner/token.dart' show Keyword; |
| 62 | 62 |
| 63 import '../scanner/precedence.dart' | 63 import '../scanner/precedence.dart' |
| 64 show | 64 show |
| 65 ASSIGNMENT_PRECEDENCE, | 65 ASSIGNMENT_PRECEDENCE, |
| 66 AS_INFO, | 66 AS_INFO, |
| 67 CASCADE_PRECEDENCE, | 67 CASCADE_PRECEDENCE, |
| 68 EOF_INFO, | 68 EOF_INFO, |
| 69 EQUALITY_PRECEDENCE, | 69 EQUALITY_PRECEDENCE, |
| 70 GENERIC_METHOD_TYPE_ASSIGN, | 70 GENERIC_METHOD_TYPE_ASSIGN, |
| 71 GENERIC_METHOD_TYPE_LIST, | 71 GENERIC_METHOD_TYPE_LIST, |
| (...skipping 3876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3948 previous.setNext(firstToken); | 3948 previous.setNext(firstToken); |
| 3949 beforeToken = firstToken; | 3949 beforeToken = firstToken; |
| 3950 } | 3950 } |
| 3951 } | 3951 } |
| 3952 | 3952 |
| 3953 typedef FastaMessage NoArgument(Uri uri, int charOffset); | 3953 typedef FastaMessage NoArgument(Uri uri, int charOffset); |
| 3954 | 3954 |
| 3955 typedef FastaMessage TokenArgument(Uri uri, int charOffset, Token token); | 3955 typedef FastaMessage TokenArgument(Uri uri, int charOffset, Token token); |
| 3956 | 3956 |
| 3957 typedef FastaMessage StringArgument(Uri uri, int charOffset, String string); | 3957 typedef FastaMessage StringArgument(Uri uri, int charOffset, String string); |
| OLD | NEW |