Sha256: 8fd703bfc37c1f80718d9ddbb0223911b55245f6db9877dcab0611fdc71195e9
Contents?: true
Size: 554 Bytes
Versions: 14
Compression:
Stored size: 554 Bytes
Contents
module Antlr4::Runtime class ActionTransition < Transition attr_reader :action_index def initialize(target, rule_index, action_index, is_ctx_dependent) super(target) @rule_index = rule_index @action_index = action_index @is_ctx_dependent = is_ctx_dependent end def serialization_type ACTION end def epsilon? true end def matches(_symbol, _min_vocab_symbol, _max_vocab_symbol) false end def to_s 'action_' + @rule_index + ':' + @action_index end end end
Version data entries
14 entries across 14 versions & 1 rubygems