15 #ifndef Om_Language_Operation_FrontPullCharacterOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(FrontPullCharacterOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {<-[characters]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
45 System::Get().Evaluate(
"<-[characters] {1{2}three}")
83 BOOST_AUTO_TEST_CASE(MultiCodePointCharacterTest) {
104 BOOST_AUTO_TEST_SUITE_END()
121 Om::Language::Operation::FrontPullCharacterOperation
125 inline char const * Type_::GetName() {
129 inline void Type_::Give(Evaluation & theEvaluation) {
130 theEvaluation.TakeOperation(
131 std::auto_ptr<IncompleteOperation>(
134 FrontPullCharacterOperation
140 template <
typename TheConsumer>
141 inline void Type_::Pull(
142 Operator & theOperator,
143 TheConsumer & theConsumer
145 theOperator.FrontGiveSegment<boost::locale::boundary::character>(theConsumer);
#define Om_Language_Operation_FrontPullCharacterOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.