|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.frontend.AbstractExtensionInfo
polyglot.frontend.JLExtensionInfo
public class JLExtensionInfo
This is the default ExtensionInfo for the Java language.
Compilation passes and visitors:
| Field Summary |
|---|
| Fields inherited from class polyglot.frontend.AbstractExtensionInfo |
|---|
compiler, nf, scheduler, source_loader, stats, target_factory, ts |
| Constructor Summary | |
|---|---|
JLExtensionInfo()
|
|
| Method Summary | |
|---|---|
java.lang.String |
compilerName()
The name of the compiler for usage messages |
protected NodeFactory |
createNodeFactory()
Create the node factory for this extension. |
protected Scheduler |
createScheduler()
|
protected TypeSystem |
createTypeSystem()
Create the type system for this extension. |
java.lang.String |
defaultFileExtension()
The default extension that source files are expected to have. |
Goal |
getCompileGoal(Job job)
Return the Goal to compile the source file associated with
job to completion. |
protected void |
initTypeSystem()
|
JobExt |
jobExt()
Get the job extension for this language extension. |
Parser |
parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
Return a parser for source using the given
reader. |
Version |
version()
Report the version of the extension. |
| Methods inherited from class polyglot.frontend.AbstractExtensionInfo |
|---|
compiler, createClassFile, createFileSource, createOptions, defaultFileExtensions, fileExtensions, getOptions, getStats, initCompiler, nodeFactory, scheduler, sourceLoader, targetFactory, toString, typeSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JLExtensionInfo()
| Method Detail |
|---|
protected void initTypeSystem()
initTypeSystem in class AbstractExtensionInfoprotected Scheduler createScheduler()
createScheduler in class AbstractExtensionInfopublic java.lang.String defaultFileExtension()
ExtensionInfo
defaultFileExtension in interface ExtensionInfodefaultFileExtension in class AbstractExtensionInfopublic java.lang.String compilerName()
ExtensionInfo
compilerName in interface ExtensionInfocompilerName in class AbstractExtensionInfopublic Version version()
ExtensionInfo
version in interface ExtensionInfoversion in class AbstractExtensionInfoprotected TypeSystem createTypeSystem()
createTypeSystem in class AbstractExtensionInfoprotected NodeFactory createNodeFactory()
createNodeFactory in class AbstractExtensionInfopublic JobExt jobExt()
AbstractExtensionInfoJob class
without subtyping.
jobExt in interface ExtensionInfojobExt in class AbstractExtensionInfo
public Parser parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
source using the given
reader.
parser in interface ExtensionInfoparser in class AbstractExtensionInfopublic Goal getCompileGoal(Job job)
Goal to compile the source file associated with
job to completion.
getCompileGoal in interface ExtensionInfogetCompileGoal in class AbstractExtensionInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||