private function parseStatic(Input $definition, TypeCollection $types, array $attributes): StaticPath
    {
        $static = $definition->takeAllUntil("{}[]");

        $next = $this->parseRoute($definition, $types, $attributes);

        return new StaticPath($static, $next);
    }