Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: pkg/front_end/lib/src/fasta/parser/error_kind.dart

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Fixes after rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698