class SyntaxTree::Retry
retry
Retry represents the use of the retry keyword.
def ===(other)
def ===(other) other.is_a?(Retry) end
def accept(visitor)
def accept(visitor) visitor.visit_retry(self) end
def child_nodes
def child_nodes [] end
def copy(location: nil)
def copy(location: nil) node = Retry.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("retry") end
def initialize(location:)
def initialize(location:) @location = location @comments = [] end