class SyntaxTree::PinnedBegin


end
in ^(statement)
case value
PinnedBegin represents a pinning a nested statement within pattern matching.

def accept(visitor)

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

def child_nodes

def child_nodes
  [statement]
end

def deconstruct_keys(_keys)

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

def format(q)

def format(q)
  q.group do
    q.text("^(")
    q.nest(1) do
      q.indent do
        q.breakable("")
        q.format(statement)
      end
      q.breakable("")
      q.text(")")
    end
  end
end

def initialize(statement:, location:, comments: [])

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