ladybird/Userland/Applications/Spreadsheet/Readers/CSV.h
2021-09-07 13:53:14 +02:00

24 lines
401 B
C++

/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "XSV.h"
#include <AK/Forward.h>
#include <AK/StringView.h>
namespace Reader {
class CSV : public XSV {
public:
CSV(StringView source, ParserBehavior behaviors = default_behaviors())
: XSV(source, { ",", "\"", ParserTraits::Repeat }, behaviors)
{
}
};
}