15 #ifndef Om_Language_Operation_FrontPullCodePointOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(FrontPullCodePointOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {<-[code` points]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
45 System::Get().Evaluate(
"<-[code` points] {1{2}three}")
84 BOOST_AUTO_TEST_CASE(MultiCodePointCharacterTest) {
105 BOOST_AUTO_TEST_SUITE_END()
122 Om::Language::Operation::FrontPullCodePointOperation
126 inline char const * Type_::GetName() {
130 inline void Type_::Give(Evaluation & theEvaluation) {
131 theEvaluation.TakeOperation(
132 std::auto_ptr<IncompleteOperation>(
135 FrontPullCodePointOperation
141 template <
typename TheConsumer>
142 inline void Type_::Pull(
143 Operator & theOperator,
144 TheConsumer & theConsumer
146 theOperator.FrontGiveCodePoint(theConsumer);
#define Om_Language_Operation_FrontPullCodePointOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.