public abstract class Config extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
LIB_FILE_NAMES |
static java.util.List<java.lang.String> |
LIB_FILE_NAMES_DEPENDENT_ON_STDLIB
the library files which depend on the STDLIB files to be able to compile
|
static java.util.List<java.lang.String> |
LIB_FILES_WITH_CODE |
static java.util.List<java.lang.String> |
LIB_FILES_WITH_DECLARATIONS |
static java.lang.String |
LIBRARIES_LOCATION |
static java.lang.String |
REWRITABLE_MODULE_NAME |
static java.util.List<java.lang.String> |
STDLIB_FILE_NAMES
The file names in the standard library to compile
|
static java.lang.String |
STDLIB_LOCATION
The location of the stdlib sources
|
Constructor and Description |
---|
Config(com.intellij.openapi.project.Project project,
java.lang.String moduleId,
EcmaVersion ecmaVersion) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<JetFile> |
generateLibFiles() |
static Config |
getEmptyConfig(com.intellij.openapi.project.Project project) |
static Config |
getEmptyConfig(com.intellij.openapi.project.Project project,
EcmaVersion ecmaVersion) |
java.util.List<JetFile> |
getLibFiles() |
BindingContext |
getLibraryBindingContext() |
java.lang.String |
getModuleId() |
com.intellij.openapi.project.Project |
getProject() |
EcmaVersion |
getTarget() |
JSTester |
getTester() |
static java.util.Collection<JetFile> |
withJsLibAdded(java.util.Collection<JetFile> files,
Config config) |
@NotNull public static final java.lang.String REWRITABLE_MODULE_NAME
@NotNull public static final java.util.List<java.lang.String> LIB_FILES_WITH_DECLARATIONS
@NotNull public static final java.util.List<java.lang.String> LIB_FILES_WITH_CODE
@NotNull public static final java.util.List<java.lang.String> LIB_FILE_NAMES
@NotNull public static final java.util.List<java.lang.String> LIB_FILE_NAMES_DEPENDENT_ON_STDLIB
public static final java.lang.String LIBRARIES_LOCATION
@NotNull public static final java.util.List<java.lang.String> STDLIB_FILE_NAMES
public static final java.lang.String STDLIB_LOCATION
public Config(@NotNull com.intellij.openapi.project.Project project, @NotNull java.lang.String moduleId, @NotNull EcmaVersion ecmaVersion)
@NotNull public static Config getEmptyConfig(@NotNull com.intellij.openapi.project.Project project, @NotNull EcmaVersion ecmaVersion)
@NotNull public static Config getEmptyConfig(@NotNull com.intellij.openapi.project.Project project)
@NotNull public com.intellij.openapi.project.Project getProject()
@NotNull public EcmaVersion getTarget()
@NotNull public java.lang.String getModuleId()
@NotNull protected abstract java.util.List<JetFile> generateLibFiles()
@NotNull public final java.util.List<JetFile> getLibFiles()
@Nullable public BindingContext getLibraryBindingContext()
@NotNull public static java.util.Collection<JetFile> withJsLibAdded(@NotNull java.util.Collection<JetFile> files, @NotNull Config config)