OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.error_kind; | 5 library fasta.parser.error_kind; |
6 | 6 |
7 enum ErrorKind { | 7 enum ErrorKind { |
8 AsciiControlCharacter, | 8 AsciiControlCharacter, |
9 EmptyNamedParameterList, | 9 EmptyNamedParameterList, |
10 EmptyOptionalParameterList, | 10 EmptyOptionalParameterList, |
(...skipping 14 matching lines...) Expand all Loading... |
25 ExtraneousModifier, | 25 ExtraneousModifier, |
26 ExtraneousModifierReplace, | 26 ExtraneousModifierReplace, |
27 InvalidAwaitFor, | 27 InvalidAwaitFor, |
28 InvalidSyncModifier, | 28 InvalidSyncModifier, |
29 InvalidVoid, | 29 InvalidVoid, |
30 MissingExponent, | 30 MissingExponent, |
31 NonAsciiIdentifier, | 31 NonAsciiIdentifier, |
32 NonAsciiWhitespace, | 32 NonAsciiWhitespace, |
33 PositionalParameterWithEquals, | 33 PositionalParameterWithEquals, |
34 RequiredParameterWithDefault, | 34 RequiredParameterWithDefault, |
| 35 StackOverflow, |
35 UnexpectedDollarInString, | 36 UnexpectedDollarInString, |
36 UnexpectedToken, | 37 UnexpectedToken, |
37 UnmatchedToken, | 38 UnmatchedToken, |
38 UnsupportedPrefixPlus, | 39 UnsupportedPrefixPlus, |
39 UnterminatedComment, | 40 UnterminatedComment, |
40 UnterminatedString, | 41 UnterminatedString, |
41 UnterminatedToken, | 42 UnterminatedToken, |
42 | 43 |
43 Unspecified, | 44 Unspecified, |
44 } | 45 } |
OLD | NEW |