Package com.google.dart.engine.utilities.ast

Examples of com.google.dart.engine.utilities.ast.DeferredLibraryReferenceDetector


   * @param expression the expression to be tested for a deferred library reference
   * @param errorCode the error code to be used if the expression is or consists of a reference to a
   *          deferred library
   */
  private void reportErrorIfFromDeferredLibrary(Expression expression, ErrorCode errorCode) {
    DeferredLibraryReferenceDetector referenceDetector = new DeferredLibraryReferenceDetector();
    expression.accept(referenceDetector);
    if (referenceDetector.getResult()) {
      errorReporter.reportErrorForNode(errorCode, expression);
    }
  }
View Full Code Here

TOP

Related Classes of com.google.dart.engine.utilities.ast.DeferredLibraryReferenceDetector

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.