org.jetbrains.kotlin.cli.common.arguments
Class K2JSCompilerArguments

java.lang.Object
  extended by org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
      extended by org.jetbrains.kotlin.cli.common.arguments.K2JSCompilerArguments

public class K2JSCompilerArguments
extends CommonCompilerArguments


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
CommonCompilerArguments.DummyImpl
 
Field Summary
 java.lang.String[] libraryFiles
           
 java.lang.String main
           
 boolean noStdlib
           
 java.lang.String outputFile
           
 java.lang.String outputPostfix
           
 java.lang.String outputPrefix
           
 boolean sourceMap
           
 java.lang.String target
           
 
Fields inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
extraHelp, freeArgs, help, noInline, suppressWarnings, verbose, version
 
Constructor Summary
K2JSCompilerArguments()
           
 
Method Summary
 java.lang.String executableScriptFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outputFile

@Argument(value="output",
          description="Output file path")
public java.lang.String outputFile

noStdlib

@Argument(value="no-stdlib",
          description="Don\'t use bundled Kotlin stdlib")
public boolean noStdlib

libraryFiles

@Argument(value="library-files",
          description="Path to zipped library sources or kotlin files separated by commas")
public java.lang.String[] libraryFiles

sourceMap

@Argument(value="source-map",
          description="Generate source map")
public boolean sourceMap

target

@Argument(value="target",
          description="Generate JS files for specific ECMA version (only ECMA 5 is supported)")
public java.lang.String target

main

@Nullable
@Argument(value="main",
          description="Whether a main function should be called; default \'call\' (main function will be auto detected)")
public java.lang.String main

outputPrefix

@Argument(value="output-prefix",
          description="Path to file which will be added to the beginning of output file")
public java.lang.String outputPrefix

outputPostfix

@Argument(value="output-postfix",
          description="Path to file which will be added to the end of output file")
public java.lang.String outputPostfix
Constructor Detail

K2JSCompilerArguments

public K2JSCompilerArguments()
Method Detail

executableScriptFileName

@NotNull
public java.lang.String executableScriptFileName()
Overrides:
executableScriptFileName in class CommonCompilerArguments