Sha256: 0174d0e7dd4d43a5abaa038b6ce839ee7d1798bca36d445bddc898b811b54038

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

# finished
# 已完成

module Antlr4ruby
  # @final
  class EpsilonTransition < Transition


    def initialize(target, outermost_ret = -1)
      super(target)
      @outermost_precedence_return = outermost_ret
    end

    private
    attr_reader :outermost_precedence_return

    public
    def get_serialization_type
      EPSILON
    end

    def is_epsilon?
      true
    end

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

    def to_s
      'epsilon'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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