public static function createForUnparsableToken(Token $token, int $code = 0, \Throwable $previous = null) : ParseException
{
return new ParseException(sprintf('Could not parse the token "%s" (type: %s).', $token->getValue(), $token->getType()), $code, $previous);
}