Sha256: f6ae9756443f441e1f7ce1120c50fec3a31efac512fe2c2c838192be4940ea47

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 Bytes

Contents

# finished
module Antlr4ruby
  class RuleTransition < Transition
    attr_reader :rule_index, :precedence
    attr_accessor :follow_state

    def initialize(rule_start, rule_index, precedence, follow_state)
      super(rule_start)
      @rule_index, @precedence, @follow_state = rule_index, precedence, follow_state
    end

    def get_serialization_type
      RULE
    end

    def is_epsilon?
      true
    end

    def matches?(symbol, min_vocab_symbol, max_vocab_symbol)
      false
    end





  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antlr4ruby-0.1.0 lib/antlr4ruby/atn/transition/rule_transition.rb