2
#include "Expression.h"
5
typedef ExpressionValue (*ExpressionFunction)(const std::wstring& funcName, const std::vector<ExpressionValue>&);
7
struct ExpressionFunctionEntry {
8
ExpressionFunction function;
11
bool safe; // result doesn't depend on the current state
14
typedef std::map<std::wstring, const ExpressionFunctionEntry> ExpressionFunctionMap;
16
extern const ExpressionFunctionMap expressionFunctions;
18
ExpressionValue expFuncDefined(ExpressionInternal* exp);