Class ExtensionInfo

  • All Implemented Interfaces:
    polyglot.frontend.ExtensionInfo

    public class ExtensionInfo
    extends polyglot.ext.jl.ExtensionInfo
    Extension information for jj extension.
    • Field Summary

      • Fields inherited from class polyglot.frontend.AbstractExtensionInfo

        compiler, COMPLETED_JOB, currentJob, jobs, nf, source_loader, stats, target_factory, ts, worklist
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtensionInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String compilerName()  
      protected polyglot.ast.NodeFactory createNodeFactory()  
      protected polyglot.main.Options createOptions()
      Appends the soot classpath to the default system classpath.
      protected polyglot.types.TypeSystem createTypeSystem()  
      String defaultFileExtension()  
      List passes​(polyglot.frontend.Job job)  
      HashMap<polyglot.frontend.Source,​polyglot.frontend.Job> sourceJobMap()  
      void sourceJobMap​(HashMap<polyglot.frontend.Source,​polyglot.frontend.Job> map)  
      • Methods inherited from class polyglot.ext.jl.ExtensionInfo

        initTypeSystem, jobExt, parser, version
      • Methods inherited from class polyglot.frontend.AbstractExtensionInfo

        addDependencyToCurrentJob, addJob, addJob, afterPass, afterPass, beforePass, beforePass, compiler, createClassFile, createJob, createSourceJob, defaultFileExtensions, enforceInvariants, fileExtensions, getOptions, getStats, initCompiler, nodeFactory, passes, readSource, removePass, replacePass, replacePass, runAllPasses, runPass, runToCompletion, runToPass, runToPass, selectJobFromWorklist, sourceLoader, spawnJob, targetFactory, toString, typeSystem
    • Constructor Detail

      • ExtensionInfo

        public ExtensionInfo()
    • Method Detail

      • defaultFileExtension

        public String defaultFileExtension()
        Specified by:
        defaultFileExtension in interface polyglot.frontend.ExtensionInfo
        Overrides:
        defaultFileExtension in class polyglot.ext.jl.ExtensionInfo
      • compilerName

        public String compilerName()
        Specified by:
        compilerName in interface polyglot.frontend.ExtensionInfo
        Overrides:
        compilerName in class polyglot.ext.jl.ExtensionInfo
      • createNodeFactory

        protected polyglot.ast.NodeFactory createNodeFactory()
        Overrides:
        createNodeFactory in class polyglot.ext.jl.ExtensionInfo
      • createTypeSystem

        protected polyglot.types.TypeSystem createTypeSystem()
        Overrides:
        createTypeSystem in class polyglot.ext.jl.ExtensionInfo
      • passes

        public List passes​(polyglot.frontend.Job job)
        Specified by:
        passes in interface polyglot.frontend.ExtensionInfo
        Overrides:
        passes in class polyglot.ext.jl.ExtensionInfo
      • sourceJobMap

        public HashMap<polyglot.frontend.Source,​polyglot.frontend.Job> sourceJobMap()
      • sourceJobMap

        public void sourceJobMap​(HashMap<polyglot.frontend.Source,​polyglot.frontend.Job> map)
      • createOptions

        protected polyglot.main.Options createOptions()
        Appends the soot classpath to the default system classpath.
        Overrides:
        createOptions in class polyglot.frontend.AbstractExtensionInfo