class RuboCop::AST::NodePattern::Parser::WithMeta::Builder

def emit_unary_op(type, operator_t = nil, *children)

def emit_unary_op(type, operator_t = nil, *children)
  children[-1] = children[-1].first if children[-1].is_a?(Array) # token?
  map = source_map(children.first.loc.expression, operator_t: operator_t)
  n(type, children, map)
end