00001 #ifndef SHEVALUATE_HPP 00002 #define SHEVALUATE_HPP 00003 00004 #include "ShStatement.hpp" 00005 #include "ShProgramNode.hpp" 00006 00007 namespace SH { 00008 00009 // Evaluate the given statement. 00010 // This calls an appropriate function from ShInstructions. 00011 // Be sure to keep this synchronized with the operations in ShStatement. 00012 SH_DLLEXPORT 00013 void evaluate(ShStatement& stmt); 00014 00015 SH_DLLEXPORT 00016 void evaluate(const ShProgramNodePtr& p); 00017 00018 } 00019 00020 #endif