Sha256: d04f560a7c5973308c841d4739b87ecf2bcbc8d7977d5200fd51e874c8d83490
Contents?: true
Size: 445 Bytes
Versions: 14
Compression:
Stored size: 445 Bytes
Contents
module Antlr4::Runtime class SetTransition < Transition attr_reader :set def initialize(target, set) super(target) set = IntervalSet.of(Token::INVALID_TYPE) if set.nil? @set = set end def serialization_type SET end def label @set end def matches(symbol, _min_vocab_symbol, _max_vocab_symbol) @set.contains(symbol) end def to_s @set.to_s end end end
Version data entries
14 entries across 14 versions & 1 rubygems