15 #ifndef Om_Language_Operation_BackPullCodePointOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullCodePointOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[code` points]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
47 System::Get().Evaluate(
"[code` points]-> {1{2}three}")
86 BOOST_AUTO_TEST_CASE(MultiCodePointCharacterTest) {
107 BOOST_AUTO_TEST_SUITE_END()
124 Om::Language::Operation::BackPullCodePointOperation
128 inline char const * Type_::GetName() {
132 inline void Type_::Give(Evaluation & theEvaluation) {
133 theEvaluation.TakeOperation(
134 std::auto_ptr<IncompleteOperation>(
137 BackPullCodePointOperation
143 template <
typename TheConsumer>
144 inline void Type_::Pull(
145 Operator & theOperator,
146 TheConsumer & theConsumer
148 theOperator.BackGiveCodePoint(theConsumer);
#define Om_Language_Operation_BackPullCodePointOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.