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

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

Issue 2778213002: Use message.yaml in parser. (Closed)
Patch Set: Update subpackage relationships. Created 3 years, 8 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library fasta.parser.error_kind;
6
7 /// Kinds of error codes.
8 enum ErrorKind {
9 AbstractNotSync,
10 AsciiControlCharacter,
11 AsyncAsIdentifier,
12 AwaitAsIdentifier,
13 AwaitForNotAsync,
14 AwaitNotAsync,
15 BuiltInIdentifierAsType,
16 BuiltInIdentifierInDeclaration,
17 EmptyNamedParameterList,
18 EmptyOptionalParameterList,
19 Encoding,
20 ExpectedBlockToSkip,
21 ExpectedBody,
22 ExpectedButGot,
23 ExpectedClassBody,
24
25 /// This error code can be used to support non-compliant (with respect to
26 /// Dart Language Specification) Dart VM native clauses. See
27 /// [dart_vm_native.dart].
28 ExpectedClassBodyToSkip,
29 ExpectedDeclaration,
30 ExpectedExpression,
31 ExpectedFunctionBody,
32 ExpectedHexDigit,
33 ExpectedIdentifier,
34 ExpectedOpenParens,
35 ExpectedString,
36 ExpectedType,
37 ExtraneousModifier,
38 ExtraneousModifierReplace,
39 FactoryNotSync,
40 GeneratorReturnsValue,
41 InvalidAwaitFor,
42 InvalidInlineFunctionType,
43 InvalidSyncModifier,
44 InvalidVoid,
45 MissingExponent,
46 NonAsciiIdentifier,
47 NonAsciiWhitespace,
48 OnlyTry,
49 PositionalParameterWithEquals,
50 RequiredParameterWithDefault,
51 SetterNotSync,
52 StackOverflow,
53 UnexpectedDollarInString,
54 UnexpectedToken,
55 UnmatchedToken,
56 UnsupportedPrefixPlus,
57 UnterminatedComment,
58 UnterminatedString,
59 UnterminatedToken,
60 YieldAsIdentifier,
61 YieldNotGenerator,
62 Unspecified,
63 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.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