public interface Compiler extends Plugin
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Compiler.CompilerListener
This is an interface that should be implemented by the emuStudio,
and/or other plug-ins that want to process the output of the compiler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCompilerListener(Compiler.CompilerListener listener)
Adds CompilerListener object into list of listeners.
|
boolean |
compile(String inputFileName)
Compile an input file into the output file.
|
boolean |
compile(String inputFileName,
String outputFileName)
Compile an input file into the output file.
|
LexicalAnalyzer |
getLexer(Reader in)
Get a lexical analyzer of the compiler.
|
int |
getProgramStartAddress()
Gets starting address of compiled source.
|
SourceFileExtension[] |
getSourceSuffixList()
Gets the list of supported source file name suffixes.
|
boolean |
removeCompilerListener(Compiler.CompilerListener listener)
Removes CompilerListener object from the listeners list.
|
destroy, getTitle, getVersion, initialize, isShowSettingsSupported, reset, showSettingsboolean addCompilerListener(Compiler.CompilerListener listener)
listener - CompilerListener objectboolean removeCompilerListener(Compiler.CompilerListener listener)
listener - CompilerListener objectboolean compile(String inputFileName, String outputFileName)
inputFileName - name of the input file (source code)outputFileName - name of the output file (compiled code)boolean compile(String inputFileName)
inputFileName - name of the input file (source code)LexicalAnalyzer getLexer(Reader in)
in - Reader object of the document - source code.int getProgramStartAddress()
SourceFileExtension[] getSourceSuffixList()
Copyright © 2017. All rights reserved.