mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 20:35:07 +00:00
23 lines
401 B
C++
23 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)
|
|
{
|
|
}
|
|
};
|
|
|
|
}
|