class SyntaxTree::Break


break 1
It can also optionally accept arguments, as in:
break
Break represents using the break keyword.

def ===(other)

def ===(other)
  other.is_a?(Break) && arguments === other.arguments
end

def accept(visitor)

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

def child_nodes

def child_nodes
  [arguments]
end

def copy(arguments: nil, location: nil)

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

def deconstruct_keys(_keys)

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

def format(q)

def format(q)
  FlowControlFormatter.new("break", self).format(q)
end

def initialize(arguments:, location:)

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