Class AtomTransition


  • public final class AtomTransition
    extends Transition
    TODO: make all transitions sets? no, should remove set edges
    • Field Detail

      • label

        public final int label
        The token type or character value; or, signifies special label.
    • Constructor Detail

      • AtomTransition

        public AtomTransition​(ATNState target,
                              int label)
    • Method Detail

      • matches

        public boolean matches​(int symbol,
                               int minVocabSymbol,
                               int maxVocabSymbol)
        Specified by:
        matches in class Transition
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object