org.jetbrains.jet.cli.js
Class K2JSCompilerArguments
java.lang.Object
org.jetbrains.jet.cli.common.CompilerArguments
org.jetbrains.jet.cli.js.K2JSCompilerArguments
public class K2JSCompilerArguments
- extends CompilerArguments
NOTE: for now K2JSCompiler supports only minimal amount of parameters required to launch it from the plugin.
You can specify path to the file where generated file will be stored, path to zipped library sources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputFile
@Argument(value="output",
description="Output file path")
public java.lang.String outputFile
libraryFiles
@Argument(value="libraryFiles",
description="Path to zipped lib sources or kotlin files")
public java.lang.String[] libraryFiles
sourceFiles
@Argument(value="sourceFiles",
description="Source files (dir or file)")
public java.lang.String[] sourceFiles
target
@Argument(value="target",
description="Generate js files for specific ECMA version (3 or 5, default ECMA 3)")
public java.lang.String target
tags
@Argument(value="tags",
description="Demarcate each compilation message (error, warning, etc) with an open and close tag")
public boolean tags
verbose
@Argument(value="verbose",
description="Enable verbose logging output")
public boolean verbose
version
@Argument(value="version",
description="Display compiler version")
public boolean version
main
@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
help
@Argument(value="help",
alias="h",
description="Show help")
public boolean help
K2JSCompilerArguments
public K2JSCompilerArguments()
isHelp
public boolean isHelp()
- Specified by:
isHelp
in class CompilerArguments
isTags
public boolean isTags()
- Specified by:
isTags
in class CompilerArguments
isVersion
public boolean isVersion()
- Specified by:
isVersion
in class CompilerArguments
isVerbose
public boolean isVerbose()
- Specified by:
isVerbose
in class CompilerArguments
getSrc
public java.lang.String getSrc()
- Specified by:
getSrc
in class CompilerArguments
createMainCallParameters
public MainCallParameters createMainCallParameters()