using System.Collections.Generic; using System.IO; namespace tlang { public class ClosureNode : Node { //j=func(a,b,c,d) 4 public ClosureNode(List args,Node node) { Arguments = args; Node=node; } public Node Node {get;set;} public List Arguments {get;set;} public override TObject Execute(IScopeEnvironment nodeEnv) { return new TInternalMethod(this,nodeEnv); } } }