class RedParse::IfNode
Public Instance Methods
reducer_ident()
click to toggle source
# File lib/redparse/ReduceWithsFor_RedParse_1_8.rb, line 17349 def reducer_ident :IfNode end
rip(p)
click to toggle source
# File lib/redparse/ripper.rb, line 334 def rip p elses=p.on_else(force_stmt_list_rip(otherwise,p)) if otherwise elsifs.reverse_each{|ei| elses=p.on_elsif( ei.condition.rip(p), force_stmt_list_rip(ei.consequent,p), elses ) } p.on_if( condition.rip(p), force_stmt_list_rip(consequent,p), elses ) end