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

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

public class K2JSCompilerArguments
extends CommonCompilerArguments

NOTE: for now K2JSCompiler supports only minimal amount of parameters required to launch it from the plugin.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
CommonCompilerArguments.DummyImpl
 
Field Summary
 java.lang.String[] libraryFiles
           
 java.lang.String main
           
 java.lang.String outputFile
           
 java.lang.String outputPostfix
           
 java.lang.String outputPrefix
           
 java.lang.String[] sourceFiles
           
 boolean sourcemap
           
 java.lang.String target
           
 
Fields inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
freeArgs, help, printArgs, suppress, tags, verbose, version
 
Constructor Summary
K2JSCompilerArguments()
           
 
Method Summary
 
Methods inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
suppressAllWarnings
 
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

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

sourcemap

@Argument(value="sourcemap",
          description="Generate SourceMap")
public boolean sourcemap

target

@Argument(value="target",
          description="Generate js files for specific ECMA version (now support only ECMA 5)")
public java.lang.String target

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

outputPrefix

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

outputPostfix

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

K2JSCompilerArguments

public K2JSCompilerArguments()