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

Unified Diff: pkg/analyzer/lib/src/generated/parser.dart

Issue 1788303002: Mark some unused code as being deprecated (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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/analyzer/lib/src/generated/incremental_scanner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/parser.dart
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart
index 8bfb362a793fa6166b4ff555302653afc3c69a80..adf9a7368e09b51ca0c98a167a78e7c63d7779bd 100644
--- a/pkg/analyzer/lib/src/generated/parser.dart
+++ b/pkg/analyzer/lib/src/generated/parser.dart
@@ -527,6 +527,7 @@ class FinalConstVarOrType {
* the methods will throw an [IncrementalParseException] if the node could not
* be parsed for some reason.
*/
+@deprecated
class IncrementalParseDispatcher implements AstVisitor<AstNode> {
/**
* The parser used to parse the replacement for the node.
@@ -1664,6 +1665,7 @@ class IncrementalParseDispatcher implements AstVisitor<AstNode> {
* An exception that occurred while attempting to parse a replacement for a
* specified node in an existing AST structure.
*/
+@deprecated
class IncrementalParseException extends RuntimeException {
/**
* Initialize a newly created exception to have no message and to be its own
@@ -1688,6 +1690,7 @@ class IncrementalParseException extends RuntimeException {
* An object used to re-parse a single AST structure within a larger AST
* structure.
*/
+@deprecated
class IncrementalParser {
/**
* The source being parsed.
@@ -1859,6 +1862,7 @@ class IncrementalParser {
* given parent. Once it has visited all of these relationships, the parser
* will be in the correct state for reparsing the node to be replaced.
*/
+@deprecated
class IncrementalParseStateBuilder extends SimpleAstVisitor {
// TODO(paulberry): add support for other pieces of parser state (_inAsync,
// _inGenerator, _inLoop, and _inSwitch). Note that _inLoop and _inSwitch
@@ -1950,6 +1954,7 @@ class IncrementalParseStateBuilder extends SimpleAstVisitor {
* not enough context to know how to re-parse the node. Clients can attempt to
* re-parse the parent of the node.
*/
+@deprecated
class InsufficientContextException extends IncrementalParseException {
/**
* Initialize a newly created exception to have no message and to be its own
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_scanner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698