Sha256: 87a662bf09e680819a0d11784f6061d59bdedc425236859f2d4c6a451d794b67

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module Antlr4ruby
  # 来一条注释

  # 注释
  class DFASerializer

    def initialize(dfa, vocabulary)
      super()
      @dfa = dfa
      @vocabulary = vocabulary
    end

    def get_edge_label(index)
      @vocabulary.display_name(index - 1)
    end

    def get_state_string(state)
      # todo
    end

    # @override
    def to_s
      # todo
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antlr4ruby-0.1.0 lib/antlr4ruby/dfa/dfa_serializer.rb