15 #ifndef Om_Language_Operation_BackPullSeparatorOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullSeparatorOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[...separator]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
76 BOOST_AUTO_TEST_SUITE_END()
94 Om::Language::Operation::BackPullSeparatorOperation
98 inline char const * Type_::GetName() {
102 inline void Type_::Give(Evaluation & theEvaluation) {
103 theEvaluation.TakeOperation(
104 std::auto_ptr<IncompleteOperation>(
107 BackPullSeparatorOperation
113 template <
typename TheConsumer>
114 inline void Type_::Pull(
115 Literal & theLiteral,
116 TheConsumer & theConsumer
118 theLiteral.BackGive<Separator>(theConsumer);
#define Om_Language_Operation_BackPullSeparatorOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.