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
18 lines
336 B
C
18 lines
336 B
C
#ifndef LIDL_PARSER_H
|
|
#define LIDL_PARSER_H
|
|
|
|
#include "lidl_ast.h"
|
|
#include <QString>
|
|
|
|
struct LidlParseResult {
|
|
ModuleDecl module;
|
|
QString error;
|
|
int errorLine = 0;
|
|
int errorColumn = 0;
|
|
bool hasError() const { return !error.isEmpty(); }
|
|
};
|
|
|
|
LidlParseResult lidlParse(const QString& source);
|
|
|
|
#endif // LIDL_PARSER_H
|