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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/error_kind.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/error_kind.dart b/pkg/front_end/lib/src/fasta/parser/error_kind.dart
deleted file mode 100644
index f622987d8cd4b488b7314f24341fffb9ea67617b..0000000000000000000000000000000000000000
--- a/pkg/front_end/lib/src/fasta/parser/error_kind.dart
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library fasta.parser.error_kind;
-
-/// Kinds of error codes.
-enum ErrorKind {
- AbstractNotSync,
- AsciiControlCharacter,
- AsyncAsIdentifier,
- AwaitAsIdentifier,
- AwaitForNotAsync,
- AwaitNotAsync,
- BuiltInIdentifierAsType,
- BuiltInIdentifierInDeclaration,
- EmptyNamedParameterList,
- EmptyOptionalParameterList,
- Encoding,
- ExpectedBlockToSkip,
- ExpectedBody,
- ExpectedButGot,
- ExpectedClassBody,
-
- /// This error code can be used to support non-compliant (with respect to
- /// Dart Language Specification) Dart VM native clauses. See
- /// [dart_vm_native.dart].
- ExpectedClassBodyToSkip,
- ExpectedDeclaration,
- ExpectedExpression,
- ExpectedFunctionBody,
- ExpectedHexDigit,
- ExpectedIdentifier,
- ExpectedOpenParens,
- ExpectedString,
- ExpectedType,
- ExtraneousModifier,
- ExtraneousModifierReplace,
- FactoryNotSync,
- GeneratorReturnsValue,
- InvalidAwaitFor,
- InvalidInlineFunctionType,
- InvalidSyncModifier,
- InvalidVoid,
- MissingExponent,
- NonAsciiIdentifier,
- NonAsciiWhitespace,
- OnlyTry,
- PositionalParameterWithEquals,
- RequiredParameterWithDefault,
- SetterNotSync,
- StackOverflow,
- UnexpectedDollarInString,
- UnexpectedToken,
- UnmatchedToken,
- UnsupportedPrefixPlus,
- UnterminatedComment,
- UnterminatedString,
- UnterminatedToken,
- YieldAsIdentifier,
- YieldNotGenerator,
- Unspecified,
-}
« 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