15 #ifndef Om_Language_Operation_BackPullCharacterOperation_
23 #ifndef Om_Macro_Precompilation_
25 #include "boost/test/unit_test.hpp"
35 BOOST_AUTO_TEST_SUITE(BackPullCharacterOperationTest)
37 BOOST_AUTO_TEST_CASE(DefinitionTest) {
40 System::Get().Evaluate(
"drop find {[characters]->} system")
44 BOOST_AUTO_TEST_CASE(GeneralTest) {
47 System::Get().Evaluate(
"[characters]-> {1{2}three}")
85 BOOST_AUTO_TEST_CASE(MultiCodePointCharacterTest) {
106 BOOST_AUTO_TEST_SUITE_END()
123 Om::Language::Operation::BackPullCharacterOperation
127 inline char const * Type_::GetName() {
131 inline void Type_::Give(Evaluation & theEvaluation) {
132 theEvaluation.TakeOperation(
133 std::auto_ptr<IncompleteOperation>(
136 BackPullCharacterOperation
142 template <
typename TheConsumer>
143 inline void Type_::Pull(
144 Operator & theOperator,
145 TheConsumer & theConsumer
147 theOperator.BackGiveSegment<boost::locale::boundary::character>(theConsumer);
#define Om_Language_Operation_BackPullCharacterOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.