|
|||||||||
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 AbstractExtensionInfo
protected Scheduler createScheduler()
createScheduler
in class AbstractExtensionInfo
public java.lang.String defaultFileExtension()
ExtensionInfo
defaultFileExtension
in interface ExtensionInfo
defaultFileExtension
in class AbstractExtensionInfo
public java.lang.String compilerName()
ExtensionInfo
compilerName
in interface ExtensionInfo
compilerName
in class AbstractExtensionInfo
public Version version()
ExtensionInfo
version
in interface ExtensionInfo
version
in class AbstractExtensionInfo
protected TypeSystem createTypeSystem()
createTypeSystem
in class AbstractExtensionInfo
protected NodeFactory createNodeFactory()
createNodeFactory
in class AbstractExtensionInfo
public JobExt jobExt()
AbstractExtensionInfo
Job
class
without subtyping.
jobExt
in interface ExtensionInfo
jobExt
in class AbstractExtensionInfo
public Parser parser(java.io.Reader reader, FileSource source, ErrorQueue eq)
source
using the given
reader
.
parser
in interface ExtensionInfo
parser
in class AbstractExtensionInfo
public Goal getCompileGoal(Job job)
Goal
to compile the source file associated with
job
to completion.
getCompileGoal
in interface ExtensionInfo
getCompileGoal
in class AbstractExtensionInfo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |