Put generic Type parsing in separate function.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <plasp/pddl/EitherType.h>
|
||||
#include <plasp/pddl/PrimitiveType.h>
|
||||
#include <plasp/utils/Parser.h>
|
||||
|
||||
namespace plasp
|
||||
{
|
||||
@@ -17,8 +18,14 @@ namespace pddl
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class Context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
using TypePtr = boost::variant<const PrimitiveType *, const EitherType *>;
|
||||
|
||||
TypePtr parseType(utils::Parser &parser, Context &context);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user