15 #ifndef Om_Language_Operation_LiteralFrontPushOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(LiteralFrontPushOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {->[literal]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
45 System::Get().Evaluate(
"->[literal] {1{2}3}{4{5}6}")
74 BOOST_AUTO_TEST_SUITE_END()
92 Om::Language::Operation::LiteralFrontPushOperation
96 inline char const * Type_::GetName() {
100 inline void Type_::Give(Evaluation & theEvaluation) {
101 theEvaluation.TakeOperation(
102 std::auto_ptr<IncompleteOperation>(
103 new FrontPushOperation<
105 LiteralFrontPushOperation
#define Om_Language_Operation_LiteralFrontPushOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.