Class CodePointTransitions

java.lang.Object
org.antlr.v4.runtime.atn.CodePointTransitions

public abstract class CodePointTransitions extends Object
Utility class to create AtomTransition, RangeTransition, and SetTransition appropriately based on the range of the input. Previously, we distinguished between atom and range transitions for Unicode code points ≤ U+FFFF and those above. We used a set transition for a Unicode code point > U+FFFF. Now that we can serialize 32-bit int/chars in the ATN serialization, this is no longer necessary.
  • Constructor Details

    • CodePointTransitions

      public CodePointTransitions()
  • Method Details