class RedParse::HashLiteralNode

Public Instance Methods

reducer_ident() click to toggle source
# File lib/redparse/ReduceWithsFor_RedParse_1_8.rb, line 17154
def reducer_ident
  :HashLiteralNode
end
rip(p) click to toggle source
# File lib/redparse/ripper.rb, line 386
def rip p
  list=[]
  (0...size).step(2){|i| list.push p.on_assoc_new(self[i].rip(p),self[i+1].rip(p)) }
  p.on_hash((p.on_assoclist_from_args(list) unless empty?))
end