Package com.google.dart.engine.internal.task

Examples of com.google.dart.engine.internal.task.ParseDartTask


      //
      // If not, compute the information. Unless the modification date of the source continues to
      // change, this loop will eventually terminate.
      //
      dartEntry = cacheDartScanData(source, dartEntry, DartEntry.TOKEN_STREAM);
      dartEntry = (DartEntry) new ParseDartTask(
          this,
          source,
          dartEntry.getModificationTime(),
          dartEntry.getValue(DartEntry.TOKEN_STREAM),
          dartEntry.getValue(SourceEntry.LINE_INFO)).perform(resultRecorder);
View Full Code Here


    Token tokenStream = dartEntry.getValue(DartEntry.TOKEN_STREAM);
    DartEntryImpl dartCopy = dartEntry.getWritableCopy();
    dartCopy.setState(DartEntry.TOKEN_STREAM, CacheState.FLUSHED);
    dartCopy.setState(DartEntry.PARSE_ERRORS, CacheState.IN_PROCESS);
    cache.put(source, dartCopy);
    return new TaskData(new ParseDartTask(
        this,
        source,
        dartCopy.getModificationTime(),
        tokenStream,
        dartEntry.getValue(SourceEntry.LINE_INFO)), false);
View Full Code Here

TOP

Related Classes of com.google.dart.engine.internal.task.ParseDartTask

Copyright © 2018 www.massapicom. 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.