16 lines
590 B
C++
16 lines
590 B
C++
#ifndef PARSER_UTIL_H
|
|
#define PARSER_UTIL_H
|
|
|
|
#include "astnode.h"
|
|
#include "parsecontext.h"
|
|
|
|
std::optional<LibraryNode> loadLibraryFromFile(ParseContext * parseContext,
|
|
const char* name,
|
|
std::ostream& stream);
|
|
|
|
std::optional<SchemaNode> loadSchemaFromFile(ParseContext * parseContext,
|
|
const char* name,
|
|
std::ostream& stream);
|
|
|
|
#endif // PARSERUTIL_H
|