Newer
Older
minerva / Userland / Applications / Spreadsheet / Readers / CSV.h
@minerva minerva on 13 Jul 401 bytes Initial commit
/*
 * 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)
    {
    }
};

}