polyglot.frontend
Class JLExtensionInfo

java.lang.Object
  extended by polyglot.frontend.AbstractExtensionInfo
      extended by polyglot.frontend.ParserlessJLExtensionInfo
          extended by polyglot.frontend.JLExtensionInfo
All Implemented Interfaces:
ExtensionInfo
Direct Known Subclasses:
ExtensionInfo

public class JLExtensionInfo
extends ParserlessJLExtensionInfo

This is the default ExtensionInfo for the Java language. Compilation passes and visitors:

  1. parse
  2. build-types (TypeBuilder)

  3. BARRIER

  4. disambiguate (AmbiguityRemover)

  5. type checking (TypeChecker)
  6. reachable checking (ReachChecker)
  7. exception checking (ExceptionChecker)
  8. exit checking (ExitChecker)
  9. initialization checking (InitChecker)
  10. circular constructor call checking (ConstructorCallChecker)
    PRE_OUTPUT MARKER

  11. serialization (ClassSerializer), optional
  12. translation (Translator)


Field Summary
 
Fields inherited from class polyglot.frontend.AbstractExtensionInfo
compiler, nf, scheduler, source_loader, stats, target_factory, ts
 
Constructor Summary
JLExtensionInfo()
           
 
Method Summary
 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.ParserlessJLExtensionInfo
compilerName, createNodeFactory, createScheduler, createTypeSystem, defaultFileExtension, getCompileGoal, initTypeSystem, jobExt, makeLoadedClassResolver, 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

JLExtensionInfo

public JLExtensionInfo()
Method Detail

parser

public Parser parser(java.io.Reader reader,
                     FileSource source,
                     ErrorQueue eq)
Return a parser for source using the given reader.

Specified by:
parser in interface ExtensionInfo
Specified by:
parser in class ParserlessJLExtensionInfo