Package com.google.dart.engine.context

Examples of com.google.dart.engine.context.ChangeNotice


    }
    long performEnd = System.currentTimeMillis();
    ChangeNotice[] notices = getChangeNotices(false);
    int noticeCount = notices.length;
    for (int i = 0; i < noticeCount; i++) {
      ChangeNotice notice = notices[i];
      Source source = notice.getSource();
      // TODO(brianwilkerson) Figure out whether the compilation unit is always resolved, or whether
      // we need to decide whether to invoke the "parsed" or "resolved" method. This might be better
      // done when recording task results in order to reduce the chance of errors.
//      if (notice.getCompilationUnit() != null) {
//        notifyResolvedDart(source, notice.getCompilationUnit());
//      } else if (notice.getHtmlUnit() != null) {
//        notifyResolvedHtml(source, notice.getHtmlUnit());
//      }
      notifyErrors(source, notice.getErrors(), notice.getLineInfo());
    }
    return new AnalysisResult(notices, getEnd - getStart, task.getClass().getName(), performEnd
        - performStart);
  }
View Full Code Here

TOP

Related Classes of com.google.dart.engine.context.ChangeNotice

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.