class Prism::ArgumentsNode

^^^^^^^^^^^^^
return foo, bar, baz
Represents a set of arguments to a method or a keyword.

def self.type

Return a symbol representation of this node type. See `Node::type`.
def self.type
  :arguments_node
end

def ===(other)

comparing the value of locations. Locations are checked only for presence.
Implements case-equality for the node. This is effectively == but without
def ===(other)
  other.is_a?(ArgumentsNode) &&
    (flags === other.flags) &&
    (arguments.length == other.arguments.length) &&
    arguments.zip(other.arguments).all? { |left, right| left === right }
end

def accept(visitor)

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

def child_nodes

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

def comment_targets

def comment_targets: () -> Array[Node | Location]
def comment_targets
  [*arguments] #: Array[Prism::node | Location]
end

def compact_child_nodes

def compact_child_nodes: () -> Array[Node]
def compact_child_nodes
  [*arguments]
end

def contains_forwarding?

def contains_forwarding?: () -> bool
def contains_forwarding?
  flags.anybits?(ArgumentsNodeFlags::CONTAINS_FORWARDING)
end

def contains_keyword_splat?

def contains_keyword_splat?: () -> bool
def contains_keyword_splat?
  flags.anybits?(ArgumentsNodeFlags::CONTAINS_KEYWORD_SPLAT)
end

def contains_keywords?

def contains_keywords?: () -> bool
def contains_keywords?
  flags.anybits?(ArgumentsNodeFlags::CONTAINS_KEYWORDS)
end

def contains_multiple_splats?

def contains_multiple_splats?: () -> bool
def contains_multiple_splats?
  flags.anybits?(ArgumentsNodeFlags::CONTAINS_MULTIPLE_SPLATS)
end

def contains_splat?

def contains_splat?: () -> bool
def contains_splat?
  flags.anybits?(ArgumentsNodeFlags::CONTAINS_SPLAT)
end

def copy(node_id: self.node_id, location: self.location, flags: self.flags, arguments: self.arguments)

def copy: (?node_id: Integer, ?location: Location, ?flags: Integer, ?arguments: Array[Prism::node]) -> ArgumentsNode
def copy(node_id: self.node_id, location: self.location, flags: self.flags, arguments: self.arguments)
  ArgumentsNode.new(source, node_id, location, flags, arguments)
end

def deconstruct_keys(keys)

def deconstruct_keys: (Array[Symbol] keys) -> { node_id: Integer, location: Location, arguments: Array[Prism::node] }
def deconstruct_keys(keys)
  { node_id: node_id, location: location, arguments: arguments }
end

def initialize(source, node_id, location, flags, arguments)

Initialize a new ArgumentsNode node.
def initialize(source, node_id, location, flags, arguments)
  @source = source
  @node_id = node_id
  @location = location
  @flags = flags
  @arguments = arguments
end

def inspect

def inspect -> String
def inspect
  InspectVisitor.compose(self)
end

def type

Return a symbol representation of this node type. See `Node#type`.
def type
  :arguments_node
end