示例#1
0
 public void Setup()
 {
     CallStack = new Stack<Call>();
     ParamStack = new Stack<Symbol>();
     Globals = new SymbolTable();
     EvalStack = new Stack<Symbol>();
 }
示例#2
0
 public Call(Function function)
 {
     Function = function;
     
     ID = Guid.NewGuid();
     
     Locals = new SymbolTable();
     
     if (function.Locals !=null)
         Locals.Setup(function.Locals);
 }