2022-03-29 19:31:45 +00:00
|
|
|
#ifndef PARSERUTIL_H
|
|
|
|
#define PARSERUTIL_H
|
|
|
|
|
2022-03-29 21:49:32 +00:00
|
|
|
#include "astnode.h"
|
2022-03-29 19:31:45 +00:00
|
|
|
#include "parsecontext.h"
|
|
|
|
|
2022-03-29 21:49:32 +00:00
|
|
|
std::optional<LibraryNode> loadLibraryFromFile(ParseContext * parseContext,
|
2022-03-29 19:31:45 +00:00
|
|
|
const char* name,
|
|
|
|
std::ostream& stream);
|
|
|
|
|
2022-03-31 21:20:41 +00:00
|
|
|
std::optional<SchemaNode> loadSchemaFromFile(ParseContext * parseContext,
|
|
|
|
const char* name,
|
|
|
|
std::ostream& stream);
|
|
|
|
|
2022-03-29 19:31:45 +00:00
|
|
|
#endif // PARSERUTIL_H
|