15 #ifndef Om_Language_Operation_FrontPullTermOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(FrontPullTermOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {<-[terms]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
74 BOOST_AUTO_TEST_SUITE_END()
92 Om::Language::Operation::FrontPullTermOperation
96 inline char const * Type_::GetName() {
100 inline void Type_::Give(Evaluation & theEvaluation) {
101 theEvaluation.TakeOperation(
102 std::auto_ptr<IncompleteOperation>(
105 FrontPullTermOperation
111 template <
typename TheConsumer>
112 inline void Type_::Pull(
113 Expression & theExpression,
114 TheConsumer & theConsumer
116 theExpression.FrontGiveTerm(theConsumer);
#define Om_Language_Operation_FrontPullTermOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.