VERSION property
A compile-time constant containing the current version of the ANTLR 4 runtime library.
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. At each release, we change this value.
Version numbers are assumed to have the form
major.minor.patch.revision-suffix,
with the individual components defined as follows.
- major is a required non-negative integer, and is equal to {@code 4} for ANTLR 4.
- minor is a required non-negative integer.
- patch is an optional non-negative integer. When patch is omitted, the {@code .} (dot) appearing before it is also omitted.
- revision is an optional non-negative integer, and may only be included when patch is also included. When revision is omitted, the {@code .} (dot) appearing before it is also omitted.
- suffix is an optional string. When suffix is omitted, the {@code -} (hyphen-minus) appearing before it is also omitted.
Implementation
static final String VERSION = '4.13.0';