#include #include #include namespace plasp { namespace pddl { namespace expressions { //////////////////////////////////////////////////////////////////////////////////////////////////// // // Unsupported // //////////////////////////////////////////////////////////////////////////////////////////////////// UnsupportedPointer Unsupported::parse(Context &context) { auto &parser = context.parser; auto expression = std::make_unique(Unsupported()); parser.expect("("); expression->m_type = parser.parseIdentifier(isIdentifier); context.logger.logWarning(context.parser, "Expression type “" + expression->m_type + "” currently unsupported in this context"); skipSection(parser); return expression; } //////////////////////////////////////////////////////////////////////////////////////////////////// const std::string &Unsupported::type() const { return m_type; } //////////////////////////////////////////////////////////////////////////////////////////////////// } } }