runtimeVersion property

String runtimeVersion

Gets the currently executing version of the ANTLR 4 runtime library.

This method provides runtime access to the [VERSION] field, as opposed to directly referencing the field as a compile-time constant.

@return The currently executing version of the ANTLR 4 library

Implementation

static String get runtimeVersion {
  return VERSION;
}