Sha256: ad53ea987697589018fe14deb12b990a2af389bd5e64bf35f457dd7c997e2863

Contents?: true

Size: 953 Bytes

Versions: 2

Compression:

Stored size: 953 Bytes

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"

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
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ripper_ruby_parser-1.7.1 lib/ripper_ruby_parser/sexp_handlers.rb
ripper_ruby_parser-1.7.0 lib/ripper_ruby_parser/sexp_handlers.rb