Sha256: a2faedf9f7656a5805ce7af5238daae1c66e0fa3acad9afc8e389953b68a78d8

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

require "parser/meta"

module Parser
  # Parser metadata
  module Meta
    NEXT_NODE_TYPES = (NODE_TYPES + %i[meth_ref def_e defs_e rasgn mrasgn]).to_set.freeze

    remove_const(:NODE_TYPES)
    const_set(:NODE_TYPES, NEXT_NODE_TYPES)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-next-parser-2.8.0.7 lib/parser/ruby-next/meta.rb
ruby-next-parser-2.8.0.6 lib/parser/ruby-next/meta.rb
ruby-next-parser-2.8.0.5 lib/parser/ruby-next/meta.rb
ruby-next-parser-2.8.0.4 lib/parser/ruby-next/meta.rb