|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpolyglot.frontend.AbstractExtensionInfo
polyglot.frontend.JLExtensionInfo
polyglot.ext.pao.ExtensionInfo
public class ExtensionInfo
Extension information for the PAO extension. This class specifies the
appropriate parser, NodeFactory and TypeSystem
to use, as well as inserting a new pass: PaoBoxer.
PaoBoxer,
PaoNodeFactory_c,
PaoTypeSystem,
PaoTypeSystem_c| Field Summary |
|---|
| Fields inherited from class polyglot.frontend.AbstractExtensionInfo |
|---|
compiler, nf, scheduler, source_loader, stats, target_factory, ts |
| 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. |
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. |
Parser |
parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
Return a parser for source using the given
reader. |
| Methods inherited from class polyglot.frontend.JLExtensionInfo |
|---|
getCompileGoal, initTypeSystem, jobExt, version |
| 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 ExtensionInfo()
| Method Detail |
|---|
public java.lang.String defaultFileExtension()
ExtensionInfo
defaultFileExtension in interface ExtensionInfodefaultFileExtension in class JLExtensionInfopublic java.lang.String compilerName()
ExtensionInfo
compilerName in interface ExtensionInfocompilerName in class JLExtensionInfo
public Parser parser(java.io.Reader reader,
FileSource source,
ErrorQueue eq)
JLExtensionInfosource using the given
reader.
parser in interface ExtensionInfoparser in class JLExtensionInfoprotected NodeFactory createNodeFactory()
JLExtensionInfo
createNodeFactory in class JLExtensionInfoprotected TypeSystem createTypeSystem()
JLExtensionInfo
createTypeSystem in class JLExtensionInfopublic Scheduler createScheduler()
createScheduler in class JLExtensionInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||