Package org.dtk.analysis.script.dependency

Examples of org.dtk.analysis.script.dependency.NonAMDScriptParser


    Logger.getLogger(Dependencies.class.getName()).setLevel(Level.OFF);
    Logger.getLogger(BaseScriptDependencyParser.class.getName()).setLevel(Level.OFF);
  }
 
  private static List<String> getScriptDeps(String source) {
    NonAMDScriptParser parser = new NonAMDScriptParser(source);   
    return parser.getModuleDependencies();   
  }
View Full Code Here


   * @param scriptContents - JavaScript source
   * @return Parser for script dependencies
   */
  protected ScriptDependencyParser getScriptParser(String scriptContents) {
    if (moduleFormat.equals(ModuleFormat.NON_AMD)) {
      return new NonAMDScriptParser(scriptContents);
    }
   
    return new AMDScriptParser(scriptContents);
  }
View Full Code Here

TOP

Related Classes of org.dtk.analysis.script.dependency.NonAMDScriptParser

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.