vendor/bundle/gems/sexp_processor-4.11.0/lib/sexp.rb
##
# Returns the bare bones structure of the sexp.
# s(:a, :b, s(:c, :d), :e) => s(:a, s(:c))
Returns the bare bones structure of the sexp.
Returns the bare bones structure of the sexp .
def structure
    if Array === self.sexp_type then
      warn "NOTE: form s(s(:subsexp)).structure is deprecated. Removing in 5.0"
      s(:bogus, *self).structure 
    else
      s(self.sexp_type, *each_sexp.map(&:structure))
    end
  end
def structure if Array === self . sexp_type then warn "NOTE: form s(s(:subsexp)).structure is deprecated. Removing in 5.0" s ( :bogus , * self ) . structure else s ( self . sexp_type , * each_sexp . map ( & :structure ) ) end end
Returns the bare bones structure of the sexp.
Returns the bare bones structure of the sexp .
# TODO: remove >= 4.2.0