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

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

Issue 2710973002: Revert "Add support for the new function-type syntax." (Closed)
Patch Set: 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,
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 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698