class Unparser::Emitter::Procarg

Progarg emitter

def dispatch

def dispatch
  if needs_parens?
    parentheses do
      delimited(children)
    end
  else
    delimited(children)
  end
end

def needs_parens?

def needs_parens?
  children.length > 1 || children.any? do |node|
    PARENS.include?(node.type)
  end
end