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, | |
34 InvalidAwaitFor, | 33 InvalidAwaitFor, |
35 InvalidSyncModifier, | 34 InvalidSyncModifier, |
36 InvalidVoid, | 35 InvalidVoid, |
37 MissingExponent, | 36 MissingExponent, |
38 NonAsciiIdentifier, | 37 NonAsciiIdentifier, |
39 NonAsciiWhitespace, | 38 NonAsciiWhitespace, |
40 PositionalParameterWithEquals, | 39 PositionalParameterWithEquals, |
41 RequiredParameterWithDefault, | 40 RequiredParameterWithDefault, |
42 StackOverflow, | 41 StackOverflow, |
43 UnexpectedDollarInString, | 42 UnexpectedDollarInString, |
44 UnexpectedToken, | 43 UnexpectedToken, |
45 UnmatchedToken, | 44 UnmatchedToken, |
46 UnsupportedPrefixPlus, | 45 UnsupportedPrefixPlus, |
47 UnterminatedComment, | 46 UnterminatedComment, |
48 UnterminatedString, | 47 UnterminatedString, |
49 UnterminatedToken, | 48 UnterminatedToken, |
50 | 49 |
51 Unspecified, | 50 Unspecified, |
52 } | 51 } |
OLD | NEW |