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, makeLoadedClassResolver
classFileLoader, cleanup, compiler, configureFileManagerForPostCompiler, createClassFile, createFileManager, createFileSource, defaultFileExtensions, defaultLocations, extFileManager, fileExtensions, getOptions, getStats, getToExt, nodeFactory, outputExtensionInfo, scheduler, sourceLoader, targetFactory, toString, typeSystem
protected OutputExtensionInfo jlext
public static java.util.Set<java.lang.String> topics
public java.lang.String defaultFileExtension()
defaultFileExtension
in interface polyglot.frontend.ExtensionInfo
defaultFileExtension
in class polyglot.frontend.ParserlessJLExtensionInfo
public java.lang.String compilerName()
compilerName
in interface polyglot.frontend.ExtensionInfo
compilerName
in class polyglot.frontend.ParserlessJLExtensionInfo
protected polyglot.main.Options createOptions()
createOptions
in class polyglot.frontend.AbstractExtensionInfo
public JifOptions getJifOptions()
protected polyglot.types.TypeSystem jlTypeSystem()
protected polyglot.types.TypeSystem createTypeSystem()
createTypeSystem
in class polyglot.frontend.ParserlessJLExtensionInfo
public void initCompiler(polyglot.frontend.Compiler compiler)
initCompiler
in interface polyglot.frontend.ExtensionInfo
initCompiler
in class polyglot.frontend.AbstractExtensionInfo
protected void initTypeSystem()
initTypeSystem
in class polyglot.frontend.ParserlessJLExtensionInfo
protected void configureFileManager() throws java.io.IOException
configureFileManager
in class polyglot.frontend.AbstractExtensionInfo
java.io.IOException
protected polyglot.ast.NodeFactory createNodeFactory()
createNodeFactory
in class polyglot.frontend.ParserlessJLExtensionInfo
public polyglot.main.Version version()
version
in interface polyglot.frontend.ExtensionInfo
version
in class polyglot.frontend.ParserlessJLExtensionInfo
public polyglot.frontend.Parser parser(java.io.Reader reader, polyglot.frontend.Source source, polyglot.util.ErrorQueue eq)
parser
in interface polyglot.frontend.ExtensionInfo
parser
in class polyglot.frontend.JLExtensionInfo
public java.util.Set<java.lang.String> keywords()
keywords
in interface polyglot.frontend.ExtensionInfo
keywords
in class polyglot.frontend.JLExtensionInfo
public polyglot.frontend.JobExt jobExt()
jobExt
in interface polyglot.frontend.ExtensionInfo
jobExt
in class polyglot.frontend.ParserlessJLExtensionInfo
protected polyglot.frontend.Scheduler createScheduler()
createScheduler
in class polyglot.frontend.ParserlessJLExtensionInfo
public 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.ExtensionInfo
getCompileGoal
in class polyglot.frontend.ParserlessJLExtensionInfo
public polyglot.frontend.FileSource createFileSource(javax.tools.FileObject f, polyglot.frontend.Source.Kind kind) throws java.io.IOException
createFileSource
in interface polyglot.frontend.ExtensionInfo
createFileSource
in class polyglot.frontend.AbstractExtensionInfo
java.io.IOException