diff --git a/components/core/CMakeLists.txt b/components/core/CMakeLists.txt index 320475355a..394bb2c8a2 100644 --- a/components/core/CMakeLists.txt +++ b/components/core/CMakeLists.txt @@ -473,6 +473,7 @@ set(SOURCE_FILES_unitTest src/clp/ffi/ir_stream/protocol_constants.hpp src/clp/ffi/ir_stream/Serializer.cpp src/clp/ffi/ir_stream/Serializer.hpp + src/clp/ffi/ir_stream/search/AstEvaluationResult.hpp src/clp/ffi/ir_stream/search/NewProjectedSchemaTreeNodeCallbackReq.hpp src/clp/ffi/ir_stream/utils.cpp src/clp/ffi/ir_stream/utils.hpp diff --git a/components/core/src/clp/ffi/ir_stream/search/AstEvaluationResult.hpp b/components/core/src/clp/ffi/ir_stream/search/AstEvaluationResult.hpp new file mode 100644 index 0000000000..d018b363d0 --- /dev/null +++ b/components/core/src/clp/ffi/ir_stream/search/AstEvaluationResult.hpp @@ -0,0 +1,20 @@ +#ifndef CLP_FFI_IR_STREAM_SEARCH_ASTEVALUATIONRESULT_HPP +#define CLP_FFI_IR_STREAM_SEARCH_ASTEVALUATIONRESULT_HPP + +#include + +namespace clp::ffi::ir_stream::search { +/** + * Enum representing the result of evaluating a search AST. + */ +enum class AstEvaluationResult : uint8_t { + True, + False, + + // The AST evaluation is intentionally skipped because it belongs to a pruned branch of the + // parent tree. + Pruned, +}; +} // namespace clp::ffi::ir_stream::search + +#endif // CLP_FFI_IR_STREAM_SEARCH_ASTEVALUATIONRESULT_HPP