@Deprecated public interface TranslatingCompiler extends Compiler
Modifier and Type | Interface and Description |
---|---|
static interface |
TranslatingCompiler.OutputItem
Deprecated.
Defines a single file compiled by the compiler.
|
static interface |
TranslatingCompiler.OutputSink
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
compile(CompileContext context,
Chunk<Module> moduleChunk,
VirtualFile[] files,
TranslatingCompiler.OutputSink sink)
Deprecated.
Compiles the specified files.
|
boolean |
isCompilableFile(VirtualFile file,
CompileContext context)
Deprecated.
Checks if the compiler can compile the specified file.
|
getDescription, validateConfiguration
boolean isCompilableFile(VirtualFile file, CompileContext context)
file
- the file to check.context
- the context for the current compile operation.file
will not be included in the list of files passed to compile(CompileContext, Chunk, VirtualFile[], OutputSink)
.void compile(CompileContext context, Chunk<Module> moduleChunk, VirtualFile[] files, TranslatingCompiler.OutputSink sink)
context
- the context for the current compile operation.moduleChunk
- contains modules that form a cycle. If project module graph has no cycles, a chunk corresponds to a single modulefiles
- the source files to compile that correspond to the module chunksink
- storage that accepts compiler output results