/* * BuiltinFunction.h * * Created on: Feb 10, 2010 * Author: petergoodman * Version: $Id$ */ #ifndef IFUNCTION_H_ #define IFUNCTION_H_ #include #include #include #include #include "Token.h" using namespace std; struct type_direction_tag { }; struct in_types : public type_direction_tag { }; struct out_types : public type_direction_tag { }; /** * Type representing a clyde function. */ struct IFunction { virtual void call(deque &stack, deque &tokens, map &symbols) = 0; virtual ~IFunction() { } }; //IFunction::~IFunction() { } #endif /* IFUNCTION_H_ */