summaryrefslogtreecommitdiff
path: root/symbol.hh
blob: 6d6ed1acbe6304d0762bdbba4c18c2911248632d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SYMBOL_HH
#define SYMBOL_HH
#include "string.hh"
#include "boxes.hh"

struct Symbol {
    String tex;
    Box dim;

    Symbol (String, Box);
    Symbol();
};

struct Parametric_symbol {    
    
    Symbol eval(String args1) const; // convenience
    Symbol eval(String args1,String arg2) const; // convenience
    virtual Symbol eval(svec<String> args)const =0;
    virtual ~Parametric_symbol();    
};

#endif