class SyntaxTree::Next


next(value)
If a single value is being given, parentheses can be used, as in:
next first, second, third
are omitted, as in:
next can even be called with multiple arguments, but only if parentheses
next value
The next keyword can also optionally be called with an argument:
next
Next represents using the next keyword.

def ===(other)

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

def accept(visitor)

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

def child_nodes

def child_nodes
  [arguments]
end

def copy(arguments: nil, location: nil)

def copy(arguments: nil, location: nil)
  node =
    Next.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("next", self).format(q)
end

def initialize(arguments:, location:)

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