File indexing completed on 2024-05-12 16:16:01

0001 /*
0002    SPDX-FileCopyrightText: 2019-2023 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "textgrammarcheckprivate_export.h"
0010 #include <QJsonObject>
0011 #include <QVector>
0012 #include <TextGrammarCheck/GrammarError>
0013 namespace TextGrammarCheck
0014 {
0015 class TEXTGRAMMARCHECK_TESTS_EXPORT GrammalecteParser
0016 {
0017 public:
0018     GrammalecteParser();
0019     ~GrammalecteParser();
0020     Q_REQUIRED_RESULT QVector<GrammarError> parseResult(const QJsonObject &obj) const;
0021 };
0022 }