class SyntaxTree::Redo


redo
Redo represents the use of the redo keyword.

def ===(other)

def ===(other)
  other.is_a?(Redo)
end

def accept(visitor)

def accept(visitor)
  visitor.visit_redo(self)
end

def child_nodes

def child_nodes
  []
end

def copy(location: nil)

def copy(location: nil)
  node = Redo.new(location: location || self.location)
  node.comments.concat(comments.map(&:copy))
  node
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  { location: location, comments: comments }
end

def format(q)

def format(q)
  q.text("redo")
end

def initialize(location:)

def initialize(location:)
  @location = location
  @comments = []
end