Package com.google.javascript.jscomp
Class AbstractCommandLineRunner.JsModuleSpec
- java.lang.Object
-
- com.google.javascript.jscomp.AbstractCommandLineRunner.JsModuleSpec
-
- Enclosing class:
- AbstractCommandLineRunner<A extends Compiler,B extends CompilerOptions>
public static class AbstractCommandLineRunner.JsModuleSpec extends java.lang.ObjectRepresents a specification for a js module.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractCommandLineRunner.JsModuleSpeccreate(java.lang.String specString, boolean isFirstModule)com.google.common.collect.ImmutableList<java.lang.String>getDeps()java.lang.StringgetName()intgetNumInputs()intgetNumJsFiles()
-
-
-
Method Detail
-
create
public static AbstractCommandLineRunner.JsModuleSpec create(java.lang.String specString, boolean isFirstModule)
- Parameters:
specString- The spec format is:name:num-js-files[:[dep,...][:]]. Module names must not contain the ':' character.isFirstModule- Whether the spec is for the first module.- Returns:
- A parsed js module spec.
-
getName
public java.lang.String getName()
-
getNumInputs
public int getNumInputs()
-
getDeps
public com.google.common.collect.ImmutableList<java.lang.String> getDeps()
-
getNumJsFiles
public int getNumJsFiles()
-
-