public virtual void Visit(PlotDef plotDef, object[] args)
 {
     foreach (Statement s in plotDef.Content)
     {
         s.Accept(this);
     }
 }
Пример #2
0
 public virtual void Visit(PlotDef plotDef, object[] args)
 {
     foreach (Statement s in plotDef.Content)
     {
         s.Accept(this);
     }
 }
 public void Visit(PlotDef plotDef, object[] args)
 {
     kernel.RuntimeData.ScopeStack.Open(new LocalScope());
     kernel.RuntimeData.InstructionStack.Push(InstructionStack.CLOSE_LOCAL_SCOPE_FLAG);
     kernel.RuntimeData.InstructionStack.Push(plotDef.Content);
     kernel.Next();
 }