public static function parse(RouteInterface $route)
    {
        extract(self::transpilePattern($route->getPattern(), false, $route->getConstraints(), $route->getDefaults()));
        $host = self::parseHostVars($route);

        return new RouteContext($staticPath, $expression, $tokens, $host['expression'], $host['tokens']);
    }