schema_editor/comdel/parser/parserutil.h

16 lines
590 B
C
Raw Permalink Normal View History

2022-04-08 18:17:58 +00:00
#ifndef PARSER_UTIL_H
#define PARSER_UTIL_H
2022-03-29 19:31:45 +00:00
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