class YARP::MultiTargetNode

^^^^^^^
a, b, c = 1, 2, 3
Represents a multi-target expression.

def accept(visitor)

def accept: (visitor: Visitor) -> void
def accept(visitor)
  visitor.visit_multi_target_node(self)
end

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [*targets]
end

def comment_targets

def comment_targets: () -> Array[Node | Location]
def comment_targets
  [*targets, *lparen_loc, *rparen_loc]
end

def copy(**params)

def copy: (**params) -> MultiTargetNode
def copy(**params)
  MultiTargetNode.new(
    params.fetch(:targets) { targets },
    params.fetch(:lparen_loc) { lparen_loc },
    params.fetch(:rparen_loc) { rparen_loc },
    params.fetch(:location) { location },
  )
end

def deconstruct_keys(keys)

def deconstruct_keys: (keys: Array[Symbol]) -> Hash[Symbol, nil | Node | Array[Node] | String | Token | Array[Token] | Location]
def deconstruct_keys(keys)
  { targets: targets, lparen_loc: lparen_loc, rparen_loc: rparen_loc, location: location }
end

def initialize(targets, lparen_loc, rparen_loc, location)

def initialize: (targets: Array[Node], lparen_loc: Location?, rparen_loc: Location?, location: Location) -> void
def initialize(targets, lparen_loc, rparen_loc, location)
  @targets = targets
  @lparen_loc = lparen_loc
  @rparen_loc = rparen_loc
  @location = location
end

def inspect(inspector = NodeInspector.new)

def inspect(inspector = NodeInspector.new)
  inspector << inspector.header(self)
  inspector << "├── targets: #{inspector.list("#{inspector.prefix}│   ", targets)}"
  inspector << "├── lparen_loc: #{inspector.location(lparen_loc)}\n"
  inspector << "└── rparen_loc: #{inspector.location(rparen_loc)}\n"
  inspector.to_str
end

def lparen

def lparen: () -> String?
def lparen
  lparen_loc&.slice
end

def rparen

def rparen: () -> String?
def rparen
  rparen_loc&.slice
end