class Unparser::Emitter::MatchRest

Emiter for match rest nodes

def dispatch

def dispatch
  write('*')
  visit(match_var) if match_var
end

def emit_array_pattern

def emit_array_pattern
  write('*')
  emit_match_var
end

def emit_hash_pattern

def emit_hash_pattern
  write('**')
  emit_match_var
end

def emit_match_var

def emit_match_var
  visit(match_var) if match_var
end