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

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

Issue 2664593002: Port parser and scanner fixes from rasta branch. (Closed)
Patch Set: Rebased on ef8ec26cf36d1f07b4fdf5d605003210826ae1c2. 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 enum ErrorKind { 7 enum ErrorKind {
8 AsciiControlCharacter,
8 EmptyNamedParameterList, 9 EmptyNamedParameterList,
9 EmptyOptionalParameterList, 10 EmptyOptionalParameterList,
11 Encoding,
10 ExpectedBlockToSkip, 12 ExpectedBlockToSkip,
11 ExpectedBody, 13 ExpectedBody,
12 ExpectedButGot, 14 ExpectedButGot,
13 ExpectedClassBody, 15 ExpectedClassBody,
14 ExpectedClassBodyToSkip, 16 ExpectedClassBodyToSkip,
15 ExpectedDeclaration, 17 ExpectedDeclaration,
16 ExpectedExpression, 18 ExpectedExpression,
17 ExpectedFunctionBody, 19 ExpectedFunctionBody,
18 ExpectedHexDigit, 20 ExpectedHexDigit,
19 ExpectedIdentifier, 21 ExpectedIdentifier,
20 ExpectedOpenParens, 22 ExpectedOpenParens,
21 ExpectedString, 23 ExpectedString,
22 ExpectedType, 24 ExpectedType,
23 ExtraneousModifier, 25 ExtraneousModifier,
24 ExtraneousModifierReplace, 26 ExtraneousModifierReplace,
25 InvalidAwaitFor, 27 InvalidAwaitFor,
26 InvalidInputCharacter,
27 InvalidSyncModifier, 28 InvalidSyncModifier,
28 InvalidVoid, 29 InvalidVoid,
29 MalformedStringLiteral,
30 MissingExponent, 30 MissingExponent,
31 NonAsciiIdentifier,
32 NonAsciiWhitespace,
31 PositionalParameterWithEquals, 33 PositionalParameterWithEquals,
32 RequiredParameterWithDefault, 34 RequiredParameterWithDefault,
35 UnexpectedDollarInString,
33 UnexpectedToken, 36 UnexpectedToken,
34 UnmatchedToken, 37 UnmatchedToken,
35 UnsupportedPrefixPlus, 38 UnsupportedPrefixPlus,
36 UnterminatedComment, 39 UnterminatedComment,
37 UnterminatedString, 40 UnterminatedString,
38 UnterminatedToken, 41 UnterminatedToken,
39 42
40 Unspecified, 43 Unspecified,
41 } 44 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698