Package com.google.dart.engine.internal.cache

Examples of com.google.dart.engine.internal.cache.DartEntryImpl.invalidateAllInformation()


      }

      removeFromParts(source, ((DartEntry) cache.get(source)));
      DartEntryImpl dartCopy = ((DartEntry) cache.get(source)).getWritableCopy();
      dartCopy.setModificationTime(getModificationStamp(source));
      dartCopy.invalidateAllInformation();
      cache.put(source, dartCopy);
      cache.removedAst(source);
      workManager.add(source, SourcePriority.UNKNOWN);
    }
  }
View Full Code Here


          // The analysis was performed on out-of-date sources. Mark the cache so that the source
          // will be re-verified using the up-to-date sources.
          //
//          dartCopy.setState(DartEntry.VERIFICATION_ERRORS, librarySource, CacheState.INVALID);
          removeFromParts(source, dartEntry);
          dartCopy.invalidateAllInformation();
          dartCopy.setModificationTime(sourceTime);
          cache.removedAst(source);
          workManager.add(source, SourcePriority.UNKNOWN);
        } else {
          //
View Full Code Here

              // The analysis was performed on out-of-date sources. Mark the cache so that the sources
              // will be re-analyzed using the up-to-date sources.
              //
//              dartCopy.setState(DartEntry.HINTS, librarySource, CacheState.INVALID);
              removeFromParts(unitSource, dartEntry);
              dartCopy.invalidateAllInformation();
              dartCopy.setModificationTime(sourceTime);
              cache.removedAst(unitSource);
              workManager.add(unitSource, SourcePriority.UNKNOWN);
            } else {
              //
View Full Code Here

          // The analysis was performed on out-of-date sources. Mark the cache so that the sources
          // will be re-analyzed using the up-to-date sources.
          //
//          dartCopy.recordParseNotInProcess();
          removeFromParts(source, dartEntry);
          dartCopy.invalidateAllInformation();
          dartCopy.setModificationTime(sourceTime);
          cache.removedAst(source);
          workManager.add(source, SourcePriority.UNKNOWN);
        } else {
          //
View Full Code Here

          //
//          if (dartCopy.getState(DartEntry.RESOLVED_UNIT) == CacheState.IN_PROCESS) {
//            dartCopy.setState(DartEntry.RESOLVED_UNIT, librarySource, CacheState.INVALID);
//          }
          removeFromParts(unitSource, dartEntry);
          dartCopy.invalidateAllInformation();
          dartCopy.setModificationTime(sourceTime);
          cache.removedAst(unitSource);
          workManager.add(unitSource, SourcePriority.UNKNOWN);
        } else {
          //
View Full Code Here

          // The analysis was performed on out-of-date sources. Mark the cache so that the sources
          // will be re-analyzed using the up-to-date sources.
          //
//          dartCopy.recordScanNotInProcess();
          removeFromParts(source, dartEntry);
          dartCopy.invalidateAllInformation();
          dartCopy.setModificationTime(sourceTime);
          cache.removedAst(source);
          workManager.add(source, SourcePriority.UNKNOWN);
        } else {
          //
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.