Move RuntimeMetaData.VERSION field to the top of the source file
This commit is contained in:
parent
6701202f66
commit
f7a840c764
|
@ -63,6 +63,22 @@ import java.util.concurrent.CopyOnWriteArraySet;
|
||||||
* may be re-registered by calling {@link #addListener}.</p>
|
* may be re-registered by calling {@link #addListener}.</p>
|
||||||
*/
|
*/
|
||||||
public class RuntimeMetaData {
|
public class RuntimeMetaData {
|
||||||
|
/**
|
||||||
|
* A compile-time constant containing the current version of the ANTLR 4
|
||||||
|
* runtime library.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* This compile-time constant value allows generated parsers and other
|
||||||
|
* libraries to include a literal reference to the version of the ANTLR 4
|
||||||
|
* runtime library the code was compiled against.</p>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* During development (between releases), this value contains the
|
||||||
|
* <em>expected</em> next release version. For official releases, the value
|
||||||
|
* will be the actual published version of the library.</p>
|
||||||
|
*/
|
||||||
|
public static final String VERSION = "4.3";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class provides detailed information about a mismatch between the
|
* This class provides detailed information about a mismatch between the
|
||||||
* version of the tool a parser was generated with, the version of the
|
* version of the tool a parser was generated with, the version of the
|
||||||
|
@ -210,22 +226,6 @@ public class RuntimeMetaData {
|
||||||
listeners.clear();
|
listeners.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* A compile-time constant containing the current version of the ANTLR 4
|
|
||||||
* runtime library.
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* This compile-time constant value allows generated parsers and other
|
|
||||||
* libraries to include a literal reference to the version of the ANTLR 4
|
|
||||||
* runtime library the code was compiled against.</p>
|
|
||||||
*
|
|
||||||
* <p>
|
|
||||||
* During development (between releases), this value contains the
|
|
||||||
* <em>expected</em> next release version. For official releases, the value
|
|
||||||
* will be the actual published version of the library.</p>
|
|
||||||
*/
|
|
||||||
public static final String VERSION = "4.3";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the currently executing version of the ANTLR 4 runtime library.
|
* Gets the currently executing version of the ANTLR 4 runtime library.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue