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

Unified Diff: pkg/analyzer/lib/dart/ast/ast.dart

Issue 2522143003: Create a new AstFactory class to be used by analyzer and its clients. (Closed)
Patch Set: Address code review comments Created 4 years, 1 month 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 | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/dart/ast/ast.dart b/pkg/analyzer/lib/dart/ast/ast.dart
index b027e4cab14089edde6ed6282fa13d0f265c30e3..f708a8277c115ce7458c458bfaaf3f84aa985028 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -7994,28 +7994,6 @@ abstract class UriBasedDirective extends Directive {
* Set the source to which the [uri] was resolved to the given [source].
*/
void set uriSource(Source source);
-
- /**
- * Validate this directive, but do not check for existence. Return a code
- * indicating the problem if there is one, or `null` no problem
- */
- UriValidationCode validate();
-}
-
-/**
- * Validation codes returned by [UriBasedDirective.validate].
- *
- * Clients may not extend, implement or mix-in this class.
- */
-abstract class UriValidationCode {
- static const UriValidationCode INVALID_URI =
- UriValidationCodeImpl.INVALID_URI;
-
- static const UriValidationCode URI_WITH_INTERPOLATION =
- UriValidationCodeImpl.URI_WITH_INTERPOLATION;
-
- static const UriValidationCode URI_WITH_DART_EXT_SCHEME =
- UriValidationCodeImpl.URI_WITH_DART_EXT_SCHEME;
}
/**
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698