Sha256: 0364ad23ab831ba3d13ac8116235978f88ef5b3283649b0927d4439eae79dbc8

Contents?: true

Size: 232 Bytes

Versions: 14

Compression:

Stored size: 232 Bytes

Contents

module Antlr4::Runtime

  class LexerDFASerializer < DFASerializer
    def initialize(dfa)
      init_from_vocabulary(dfa, VocabularyImpl::EMPTY_VOCABULARY)
    end

    def edge_label(i)
      "'" << i.to_s << "'"
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
antlr4-runtime-0.2.12 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.11 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.10 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.9 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.8 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.7 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.6 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.5 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.4 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.3 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.2 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.1 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.2.0 lib/antlr4/runtime/lexer_dfa_serializer.rb
antlr4-runtime-0.1.0 lib/antlr4/runtime/lexer_dfa_serializer.rb