Fawkes API Fawkes Development Version
|
Functor for semantic checks when parsing PDDL types. More...
#include <pddl_semantics.h>
Public Member Functions | |
pair_type | operator() (const iterator_type &where, const pair_type &parsed, const Domain &domain) const |
Throw an exception if the parsed type is a sub-type but the domain does not have the requirement :typing enabled. More... | |
Functor for semantic checks when parsing PDDL types.
Definition at line 68 of file pddl_semantics.h.
pair_type pddl_parser::TypeSemantics::operator() | ( | const iterator_type & | where, |
const pair_type & | parsed, | ||
const Domain & | domain | ||
) | const |
Throw an exception if the parsed type is a sub-type but the domain does not have the requirement :typing enabled.
where | Position of the parsed type in the string to parse. |
parsed | Type that got parsed. |
domain | Partial domain containing everything that was parsed so far |
Definition at line 57 of file pddl_semantics.cpp.