15 #ifndef Om_Language_Operation_BackPullFormOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullFormOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[forms]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
47 System::Get().Evaluate(
"[forms]-> {1{2}{3}4{5}{6}}")
76 BOOST_AUTO_TEST_SUITE_END()
94 Om::Language::Operation::BackPullFormOperation
98 inline char const * Type_::GetName() {
102 inline void Type_::Give(Evaluation & theEvaluation) {
103 theEvaluation.TakeOperation(
104 std::auto_ptr<IncompleteOperation>(
107 BackPullFormOperation
113 template <
typename TheConsumer>
114 inline void Type_::Pull(
115 Expression & theExpression,
116 TheConsumer & theConsumer
118 theExpression.BackGiveForm(theConsumer);
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.