public class K2JSCompilerArguments extends CompilerArguments
Modifier and Type | Field and Description |
---|---|
boolean |
help |
java.lang.String[] |
libraryFiles |
java.lang.String |
main |
java.lang.String |
outputFile |
java.lang.String[] |
sourceFiles |
boolean |
tags |
java.lang.String |
target |
boolean |
verbose |
boolean |
version |
freeArgs
Constructor and Description |
---|
K2JSCompilerArguments() |
Modifier and Type | Method and Description |
---|---|
MainCallParameters |
createMainCallParameters() |
java.lang.String |
getSrc() |
boolean |
isHelp() |
boolean |
isTags() |
boolean |
isVerbose() |
boolean |
isVersion() |
getCompilerPlugins, setCompilerPlugins
@Argument(value="output", description="Output file path") public java.lang.String outputFile
@Argument(value="libraryFiles", description="Path to zipped lib sources or kotlin files") public java.lang.String[] libraryFiles
@Argument(value="sourceFiles", description="Source files (dir or file)") public java.lang.String[] sourceFiles
@Argument(value="target", description="Generate js files for specific ECMA version (3 or 5, default ECMA 3)") public java.lang.String target
@Argument(value="tags", description="Demarcate each compilation message (error, warning, etc) with an open and close tag") public boolean tags
@Argument(value="verbose", description="Enable verbose logging output") public boolean verbose
@Argument(value="version", description="Display compiler version") public boolean version
@Nullable @Argument(value="main", description="Whether a main function should be called; either \'call\' or \'noCall\', default \'call\' (main function will be auto detected)") public java.lang.String main
@Argument(value="help", alias="h", description="Show help") public boolean help
public K2JSCompilerArguments()
public boolean isHelp()
isHelp
in class CompilerArguments
public boolean isTags()
isTags
in class CompilerArguments
public boolean isVersion()
isVersion
in class CompilerArguments
public boolean isVerbose()
isVerbose
in class CompilerArguments
public java.lang.String getSrc()
getSrc
in class CompilerArguments
public MainCallParameters createMainCallParameters()