|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.frontend.AbstractExtensionInfo
polyglot.ext.jl.ExtensionInfo
public class ExtensionInfo
This is the default ExtensionInfo for the Java language.
Compilation passes and visitors:
| Field Summary |
|---|
| Fields inherited from class polyglot.frontend.AbstractExtensionInfo |
|---|
compiler, COMPLETED_JOB, currentJob, jobs, nf, source_loader, stats, target_factory, ts, worklist |
| Constructor Summary | |
|---|---|
ExtensionInfo()
|
|
| 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 TypeSystem |
createTypeSystem()
Create the type system for this extension. |
java.lang.String |
defaultFileExtension()
The default extension that source files are expected to have. |
protected void |
initTypeSystem()
|
JobExt |
jobExt()
Get the job extension for this language extension. |
Parser |
parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
Get the parser for this language extension. |
java.util.List |
passes(Job job)
Get the complete list of passes for the job. |
Version |
version()
Report the version of the extension. |
| Methods inherited from class polyglot.frontend.AbstractExtensionInfo |
|---|
addDependencyToCurrentJob, addJob, addJob, afterPass, afterPass, beforePass, beforePass, compiler, createClassFile, createJob, createOptions, createSourceJob, defaultFileExtensions, enforceInvariants, fileExtensions, getOptions, getStats, initCompiler, nodeFactory, passes, readSource, removePass, replacePass, replacePass, runAllPasses, runPass, runToCompletion, runToPass, runToPass, selectJobFromWorklist, sourceLoader, spawnJob, targetFactory, toString, typeSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionInfo()
| Method Detail |
|---|
protected void initTypeSystem()
initTypeSystem in class AbstractExtensionInfopublic java.lang.String defaultFileExtension()
ExtensionInfo
public java.lang.String compilerName()
ExtensionInfo
public Version version()
ExtensionInfo
protected TypeSystem createTypeSystem()
createTypeSystem in class AbstractExtensionInfoprotected NodeFactory createNodeFactory()
createNodeFactory in class AbstractExtensionInfopublic JobExt jobExt()
AbstractExtensionInfoJob class
without subtyping.
jobExt in class AbstractExtensionInfo
public Parser parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
AbstractExtensionInfo
parser in interface ExtensionInfoparser in class AbstractExtensionInfopublic java.util.List passes(Job job)
AbstractExtensionInfo
passes in interface ExtensionInfopasses in class AbstractExtensionInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||