class RSpec::Core::Source::Node

def args

def args
  @args ||= raw_args.map do |raw_arg|
    if Node.sexp?(raw_arg)
      Node.new(raw_arg, self)
    elsif Location.location?(raw_arg)
      Location.new(*raw_arg)
    elsif raw_arg.is_a?(Array)
      GroupNode.new(raw_arg, self)
    else
      raw_arg
    end
  end.freeze
end