class YARP::UndefNode

^^^^^^^^^^^^^^^^^^^^^^
undef :foo, :bar, :baz
Represents the use of the ‘undef` keyword.

def accept(visitor)

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

def child_nodes

def child_nodes: () -> Array[nil | Node]
def child_nodes
  [*names]
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)
  { names: names, keyword_loc: keyword_loc, location: location }
end

def initialize(names, keyword_loc, location)

def initialize: (names: Array[Node], keyword_loc: Location, location: Location) -> void
def initialize(names, keyword_loc, location)
  @names = names
  @keyword_loc = keyword_loc
  @location = location
end

def keyword

def keyword: () -> String
def keyword
  keyword_loc.slice
end