class ViewModel::TraversalContext

def parent_context(idx = 0)

def parent_context(idx = 0)
  if idx == 0
    @parent_context
  else
    @parent_context&.parent_context(idx - 1)
  end
end