class YARP::CallNode

^^^^^^^^
foo&.bar
^^^^^^^
foo.bar
^^^^^^^^^
foo + bar
^^^^
+foo
^^^^^
foo()
^^^
foo
Represents a method call, in all of the various forms that can take.

def accept(visitor)

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

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [receiver, arguments, block]
end

def closing

def closing: () -> String?
def closing
  closing_loc&.slice
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)
  { receiver: receiver, operator_loc: operator_loc, message_loc: message_loc, opening_loc: opening_loc, arguments: arguments, closing_loc: closing_loc, block: block, flags: flags, name: name, location: location }
end

def initialize(receiver, operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location)

def initialize: (receiver: Node?, operator_loc: Location?, message_loc: Location?, opening_loc: Location?, arguments: Node?, closing_loc: Location?, block: Node?, flags: Integer, name: String, location: Location) -> void
def initialize(receiver, operator_loc, message_loc, opening_loc, arguments, closing_loc, block, flags, name, location)
  @receiver = receiver
  @operator_loc = operator_loc
  @message_loc = message_loc
  @opening_loc = opening_loc
  @arguments = arguments
  @closing_loc = closing_loc
  @block = block
  @flags = flags
  @name = name
  @location = location
end

def message

def message: () -> String?
def message
  message_loc&.slice
end

def opening

def opening: () -> String?
def opening
  opening_loc&.slice
end

def operator

def operator: () -> String?
def operator
  operator_loc&.slice
end

def safe_navigation?

def safe_navigation?: () -> bool
def safe_navigation?
  flags.anybits?(CallNodeFlags::SAFE_NAVIGATION)
end

def variable_call?

def variable_call?: () -> bool
def variable_call?
  flags.anybits?(CallNodeFlags::VARIABLE_CALL)
end