15 #ifndef Om_Language_Operation_LexiconFrontPushOperation_
21 #ifndef Om_Macro_Precompilation_
23 #include "boost/test/unit_test.hpp"
33 BOOST_AUTO_TEST_SUITE(LexiconFrontPushOperationTest)
35 BOOST_AUTO_TEST_CASE(DefinitionTest) {
38 System::Get().Evaluate(
"drop find {->[lexicon]} system")
42 BOOST_AUTO_TEST_CASE(GeneralTest) {
65 System::Get().Evaluate(
"->[lexicon] {a{A}} {a{B} a b{C}}")
69 BOOST_AUTO_TEST_SUITE_END()
87 Om::Language::Operation::LexiconFrontPushOperation
91 inline char const * Type_::GetName() {
95 inline void Type_::Give(Evaluation & theEvaluation) {
96 theEvaluation.TakeOperation(
97 std::auto_ptr<IncompleteOperation>(
98 new FrontPushOperation<
100 LexiconFrontPushOperation
#define Om_Language_Operation_LexiconFrontPushOperation_GetName_()
std::auto_ptr< TheGiveable > Give(TheGiveable &)
Calls Move on the object.