class Antlr4::Runtime::AtomTransition

Attributes

the_label[R]

Public Class Methods

new(target, label) click to toggle source
Calls superclass method
# File lib/antlr4/runtime/atom_transition.rb, line 6
def initialize(target, label)
  super(target)
  @the_label = label
end

Public Instance Methods

label() click to toggle source
# File lib/antlr4/runtime/atom_transition.rb, line 15
def label
  IntervalSet.of(@the_label)
end
matches(symbol, _min_vocab_symbol, _max_vocab_symbol) click to toggle source
# File lib/antlr4/runtime/atom_transition.rb, line 19
def matches(symbol, _min_vocab_symbol, _max_vocab_symbol)
  @the_label == symbol
end
serialization_type() click to toggle source
# File lib/antlr4/runtime/atom_transition.rb, line 11
def serialization_type
  ATOM
end
to_s() click to toggle source
# File lib/antlr4/runtime/atom_transition.rb, line 23
def to_s
  '' + @the_label
end