summaryrefslogtreecommitdiff
path: root/symbol.cc
blob: d67049cefa89f51cb6680c6130c12a62a8e62ea3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "symbol.hh"

Symbol::Symbol()
    :    dim(Interval(0,0),Interval(0,0))
{
    tex = "\\unknown";
}
Symbol::Symbol(String s, Box b)
    :  dim(b)
{
    tex = s;
}

/****************************************************************/

Symbol
Parametric_symbol::eval(String args1)const
{
    svec<String> a;
    a.add(args1);
    return eval(a);
}

Symbol
Parametric_symbol::eval(String args1,String arg2)const
{
    svec<String> a;
    a.add(args1);
    a.add(arg2);
    return eval(a);
}

Parametric_symbol::~Parametric_symbol()
{
}