summaryrefslogtreecommitdiff
path: root/Expression.h
blob: 105ad28e4e667e27fcb0924b6e166e2fcf81a993 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef EXPRESSION_H
#define EXPRESSION_H

#include <string>
#include <map>

template<class T>
struct Expression {
  virtual T eval(const std::map<std::string, T>&) const = 0;
};

#endif