Sha256: 4cde7885e9ae6a1b65ff03bb454a26616e12bc7bc454e3a81371bdad993e72dd

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

require "ripper_ruby_parser/sexp_handlers/helper_methods"

require "ripper_ruby_parser/sexp_handlers/assignment"
require "ripper_ruby_parser/sexp_handlers/blocks"
require "ripper_ruby_parser/sexp_handlers/conditionals"
require "ripper_ruby_parser/sexp_handlers/literals"
require "ripper_ruby_parser/sexp_handlers/loops"
require "ripper_ruby_parser/sexp_handlers/method_calls"
require "ripper_ruby_parser/sexp_handlers/methods"
require "ripper_ruby_parser/sexp_handlers/operators"
require "ripper_ruby_parser/sexp_handlers/string_literals"

module RipperRubyParser
  # Umbrella module for handlers of particular sexp types
  #
  # @api private
  module SexpHandlers
    def self.included(base)
      base.class_eval do
        include HelperMethods

        include Assignment
        include Blocks
        include Conditionals
        include Literals
        include Loops
        include MethodCalls
        include Methods
        include Operators
        include StringLiterals
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ripper_ruby_parser-1.11.0 lib/ripper_ruby_parser/sexp_handlers.rb
ripper_ruby_parser-1.10.0 lib/ripper_ruby_parser/sexp_handlers.rb
ripper_ruby_parser-1.9.0 lib/ripper_ruby_parser/sexp_handlers.rb
ripper_ruby_parser-1.8.0 lib/ripper_ruby_parser/sexp_handlers.rb
ripper_ruby_parser-1.7.2 lib/ripper_ruby_parser/sexp_handlers.rb