| /* |
| * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/ |
| * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/ |
| * |
| * Written by Václav Kubernát <kubervac@fit.cvut.cz> |
| * |
| */ |
| |
| #include "schema.hpp" |
| struct ParserContext { |
| ParserContext(const Schema& schema, const path_ curDir); |
| const Schema& m_schema; |
| path_ m_curPath; |
| boost::optional<std::string> m_curModule; |
| std::string m_errorMsg; |
| std::string m_tmpListName; |
| bool m_topLevelModulePresent = false; |
| std::set<std::string> m_tmpListKeys; |
| bool m_errorHandled = false; |
| }; |