mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 09:41:06 +00:00
* add IDL parser & generator (wip) * fix fixtures issues affecting tests * fix fixtures issues affecting tests
17 lines
346 B
C
17 lines
346 B
C
#ifndef LIDL_VALIDATOR_H
|
|
#define LIDL_VALIDATOR_H
|
|
|
|
#include "lidl_ast.h"
|
|
#include <QString>
|
|
#include <QStringList>
|
|
|
|
struct LidlValidationResult {
|
|
QStringList errors;
|
|
QStringList warnings;
|
|
bool hasErrors() const { return !errors.isEmpty(); }
|
|
};
|
|
|
|
LidlValidationResult lidlValidate(const ModuleDecl& module);
|
|
|
|
#endif // LIDL_VALIDATOR_H
|