public void Add(FunctionName functionname, IntReturningFunction intReturningFunction)
 {
     _dictionary[functionname.name] = intReturningFunction;
 }
Esempio n. 2
0
 public CallIntegerReturningFunction(List <IIntegerReturningStatement> args, FunctionDefinitionSet functionSet, FunctionName name)
 {
     _args        = args;
     _functionSet = functionSet;
     _name        = name;
 }
 public IntReturningFunction Lookup(FunctionName functionname)
 {
     return(_dictionary[functionname.name]);
 }