public class ExtensionInfo
extends polyglot.frontend.JLExtensionInfo
RewriteArgsVisitor AddDummyFieldsVisitor FieldLabelResolver LabelChecker JifTranslator | Modifier and Type | Class and Description |
|---|---|
static class |
ExtensionInfo.JifJobExt |
| Modifier and Type | Field and Description |
|---|---|
protected OutputExtensionInfo |
jlext |
static java.util.Set<java.lang.String> |
topics |
| Constructor and Description |
|---|
ExtensionInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
compilerName() |
protected void |
configureFileManager() |
polyglot.frontend.FileSource |
createFileSource(javax.tools.FileObject f,
polyglot.frontend.Source.Kind kind) |
LabelChecker |
createLabelChecker(polyglot.frontend.Job job,
boolean warningsEnabled,
boolean solvePerClassBody,
boolean solvePerMethod,
boolean doLabelSubst) |
protected polyglot.ast.NodeFactory |
createNodeFactory() |
protected polyglot.main.Options |
createOptions() |
protected polyglot.frontend.Scheduler |
createScheduler() |
protected polyglot.types.TypeSystem |
createTypeSystem() |
java.lang.String |
defaultFileExtension() |
polyglot.frontend.goals.Goal |
getCompileGoal(polyglot.frontend.Job job) |
JifOptions |
getJifOptions() |
void |
initCompiler(polyglot.frontend.Compiler compiler) |
protected void |
initTypeSystem() |
protected polyglot.types.TypeSystem |
jlTypeSystem() |
polyglot.frontend.JobExt |
jobExt() |
java.util.Set<java.lang.String> |
keywords() |
polyglot.frontend.Parser |
parser(java.io.Reader reader,
polyglot.frontend.Source source,
polyglot.util.ErrorQueue eq) |
polyglot.main.Version |
version() |
getValidationGoal, makeLoadedClassResolverclassFileLoader, cleanup, compiler, configureFileManagerForPostCompiler, createClassFile, createFileManager, createFileSource, defaultFileExtensions, defaultLocations, extFileManager, fileExtensions, getOptions, getStats, getToExt, nodeFactory, outputExtensionInfo, scheduler, sourceLoader, targetFactory, toString, typeSystemprotected OutputExtensionInfo jlext
public static java.util.Set<java.lang.String> topics
public java.lang.String defaultFileExtension()
defaultFileExtension in interface polyglot.frontend.ExtensionInfodefaultFileExtension in class polyglot.frontend.ParserlessJLExtensionInfopublic java.lang.String compilerName()
compilerName in interface polyglot.frontend.ExtensionInfocompilerName in class polyglot.frontend.ParserlessJLExtensionInfoprotected polyglot.main.Options createOptions()
createOptions in class polyglot.frontend.AbstractExtensionInfopublic JifOptions getJifOptions()
protected polyglot.types.TypeSystem jlTypeSystem()
protected polyglot.types.TypeSystem createTypeSystem()
createTypeSystem in class polyglot.frontend.ParserlessJLExtensionInfopublic void initCompiler(polyglot.frontend.Compiler compiler)
initCompiler in interface polyglot.frontend.ExtensionInfoinitCompiler in class polyglot.frontend.AbstractExtensionInfoprotected void initTypeSystem()
initTypeSystem in class polyglot.frontend.ParserlessJLExtensionInfoprotected void configureFileManager()
throws java.io.IOException
configureFileManager in class polyglot.frontend.AbstractExtensionInfojava.io.IOExceptionprotected polyglot.ast.NodeFactory createNodeFactory()
createNodeFactory in class polyglot.frontend.ParserlessJLExtensionInfopublic polyglot.main.Version version()
version in interface polyglot.frontend.ExtensionInfoversion in class polyglot.frontend.ParserlessJLExtensionInfopublic polyglot.frontend.Parser parser(java.io.Reader reader,
polyglot.frontend.Source source,
polyglot.util.ErrorQueue eq)
parser in interface polyglot.frontend.ExtensionInfoparser in class polyglot.frontend.JLExtensionInfopublic java.util.Set<java.lang.String> keywords()
keywords in interface polyglot.frontend.ExtensionInfokeywords in class polyglot.frontend.JLExtensionInfopublic polyglot.frontend.JobExt jobExt()
jobExt in interface polyglot.frontend.ExtensionInfojobExt in class polyglot.frontend.ParserlessJLExtensionInfoprotected polyglot.frontend.Scheduler createScheduler()
createScheduler in class polyglot.frontend.ParserlessJLExtensionInfopublic LabelChecker createLabelChecker(polyglot.frontend.Job job, boolean warningsEnabled, boolean solvePerClassBody, boolean solvePerMethod, boolean doLabelSubst)
public polyglot.frontend.goals.Goal getCompileGoal(polyglot.frontend.Job job)
getCompileGoal in interface polyglot.frontend.ExtensionInfogetCompileGoal in class polyglot.frontend.ParserlessJLExtensionInfopublic polyglot.frontend.FileSource createFileSource(javax.tools.FileObject f,
polyglot.frontend.Source.Kind kind)
throws java.io.IOException
createFileSource in interface polyglot.frontend.ExtensionInfocreateFileSource in class polyglot.frontend.AbstractExtensionInfojava.io.IOException