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

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

Issue 728513002: Remove some (but not all) unused methods in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 9164e8e4d687749f76993607f53098ca552ba913..b7968749b7723e0a7e5fb486676969cf41fe5b74 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -2805,15 +2805,6 @@ class AnalysisContextImpl implements InternalAnalysisContext {
}
/**
- * Return a string with debugging information about the given source (the full name and
- * modification stamp of the source).
- *
- * @param source the source for which a debugging string is to be produced
- * @return debugging information about the given source
- */
- String _debuggingString(Source source) => "'${source.fullName}' [${getModificationStamp(source)}]";
-
- /**
* Return an array containing all of the change notices that are waiting to be returned. If there
* are no notices, then return either `null` or an empty array, depending on the value of
* the argument.
@@ -8586,25 +8577,6 @@ class DartEntry extends SourceEntry {
|| descriptor == RESOLVED_UNIT
|| descriptor == VERIFICATION_ERRORS;
}
-
- /**
- * Given that the specified flag is being transitioned to the given state, set the value of the
- * flag to the value that should be kept in the cache.
- *
- * @param index the index of the flag whose state is being set
- * @param state the state to which the value is being transitioned
- */
- void _updateValueOfFlag(int index, CacheState state) {
- if (state == CacheState.VALID) {
- throw new IllegalArgumentException("Use setValue() to set the state to VALID");
- } else if (state != CacheState.IN_PROCESS) {
- //
- // If the value is in process, we can leave the current value in the cache for any 'get'
- // methods to access.
- //
- _setFlag(index, false);
- }
- }
}
/**
@@ -13139,15 +13111,6 @@ abstract class SourceEntry {
}
/**
- * Set the value of all of the flags with the given [indexes] to false.
- */
- void _clearFlags(List<int> indexes) {
- for (int i = 0; i < indexes.length; i++) {
- _flags = BooleanArray.set(_flags, indexes[i], false);
- }
- }
-
- /**
* Flush the value of the data described by the [descriptor].
*/
void _flush(DataDescriptor descriptor) {

Powered by Google App Engine
This is Rietveld 408576698