class ActionDispatch::Journey::Routes

def ast

def ast
  @ast ||= begin
    asts = anchored_routes.map(&:ast)
    Nodes::Or.new(asts) unless asts.empty?
  end
end