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 /// Kinds of error codes. | 7 /// Kinds of error codes. |
8 enum ErrorKind { | 8 enum ErrorKind { |
9 AsciiControlCharacter, | 9 AsciiControlCharacter, |
10 EmptyNamedParameterList, | 10 EmptyNamedParameterList, |
(...skipping 12 matching lines...) Expand all Loading... |
23 ExpectedDeclaration, | 23 ExpectedDeclaration, |
24 ExpectedExpression, | 24 ExpectedExpression, |
25 ExpectedFunctionBody, | 25 ExpectedFunctionBody, |
26 ExpectedHexDigit, | 26 ExpectedHexDigit, |
27 ExpectedIdentifier, | 27 ExpectedIdentifier, |
28 ExpectedOpenParens, | 28 ExpectedOpenParens, |
29 ExpectedString, | 29 ExpectedString, |
30 ExpectedType, | 30 ExpectedType, |
31 ExtraneousModifier, | 31 ExtraneousModifier, |
32 ExtraneousModifierReplace, | 32 ExtraneousModifierReplace, |
| 33 InvalidInlineFunctionType, |
33 InvalidAwaitFor, | 34 InvalidAwaitFor, |
34 InvalidSyncModifier, | 35 InvalidSyncModifier, |
35 InvalidVoid, | 36 InvalidVoid, |
36 MissingExponent, | 37 MissingExponent, |
37 NonAsciiIdentifier, | 38 NonAsciiIdentifier, |
38 NonAsciiWhitespace, | 39 NonAsciiWhitespace, |
39 PositionalParameterWithEquals, | 40 PositionalParameterWithEquals, |
40 RequiredParameterWithDefault, | 41 RequiredParameterWithDefault, |
41 StackOverflow, | 42 StackOverflow, |
42 UnexpectedDollarInString, | 43 UnexpectedDollarInString, |
43 UnexpectedToken, | 44 UnexpectedToken, |
44 UnmatchedToken, | 45 UnmatchedToken, |
45 UnsupportedPrefixPlus, | 46 UnsupportedPrefixPlus, |
46 UnterminatedComment, | 47 UnterminatedComment, |
47 UnterminatedString, | 48 UnterminatedString, |
48 UnterminatedToken, | 49 UnterminatedToken, |
49 | 50 |
50 Unspecified, | 51 Unspecified, |
51 } | 52 } |
OLD | NEW |