polyglot.ext.jl
Class Version

java.lang.Object
  extended by polyglot.main.Version
      extended by polyglot.ext.jl.Version

public class Version
extends Version

Version information for the base compiler.


Constructor Summary
Version()
           
 
Method Summary
 int major()
          Marks major changes in the output format of the files produced by the compiler.
 int minor()
          Indicates a change in the compiler that does not affect the output format.
 java.lang.String name()
          The name of the language.
 int patch_level()
          Denote minor changes and bugfixes to the compiler.
 
Methods inherited from class polyglot.main.Version
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version()
Method Detail

name

public java.lang.String name()
Description copied from class: Version
The name of the language. Files produced by different languages are not compatible.

Specified by:
name in class Version

major

public int major()
Description copied from class: Version
Marks major changes in the output format of the files produced by the compiler. Files produced be different major versions are considered incompatible and will not be used as source of class information.

Specified by:
major in class Version

minor

public int minor()
Description copied from class: Version
Indicates a change in the compiler that does not affect the output format. Source files will be prefered over class files build by compilers with different minor versions, but if no source file is available, then the class file will be used.

Specified by:
minor in class Version

patch_level

public int patch_level()
Description copied from class: Version
Denote minor changes and bugfixes to the compiler. Class files compiled with versions of the compiler that only differ in patchlevel (from the current instantiation) will always be preferred over source files (unless the source files have newer modification dates).

Specified by:
patch_level in class Version