Package com.google.javascript.jscomp.deps

Examples of com.google.javascript.jscomp.deps.JsFileParser


        // Note: it's OK to use getName() instead of
        // getPathRelativeToClosureBase() here because we're not using
        // this to generate deps files. (We're only using it for
        // symbol dependencies.)
        DependencyInfo info =
            (new JsFileParser(compiler.getErrorManager()))
            .setIncludeGoogBase(true)
            .parseFile(getName(), getName(), getCode());

        isModuleFile = info.isModule();
        provides.addAll(info.getProvides());
View Full Code Here


      if (!generatedDependencyInfoFromSource) {
        // Note: it's ok to use getName() instead of
        // getPathRelativeToClosureBase() here because we're not using
        // this to generate deps files. (We're only using it for
        // symbol dependencies.)
        DependencyInfo info = (new JsFileParser(errorManager)).parseFile(
            getName(), getName(), getCode());

        provides.addAll(info.getProvides());
        requires.addAll(info.getRequires());
View Full Code Here

TOP

Related Classes of com.google.javascript.jscomp.deps.JsFileParser

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.