public static ParamTree Build(FunctionType functionType, IList <MethodTracker> methods, int argCnt) { ParamTree pt = new ParamTree(argCnt); pt.funcType = functionType; for (int i = 0; i < methods.Count; i++) { pt.AddMethod(methods[i]); } pt.FinishTree(); //pt.Walk(new ParamTreeDumper(pt, methods[0].Name)); return(pt); }
public ParamTreeDumper(ParamTree pt, string name) : this(pt, name, null) { }
public ParamTreeDumper(ParamTree pt, string name, StringBuilder sb) { this.sb = sb; this.pt = pt; Write(String.Format("Param tree for: {0}", name)); }