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.Object
Represents a specification for a js module.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractCommandLineRunner.JsModuleSpec
create(java.lang.String specString, boolean isFirstModule)
com.google.common.collect.ImmutableList<java.lang.String>
getDeps()
java.lang.String
getName()
int
getNumInputs()
int
getNumJsFiles()
-
-
-
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()
-
-