Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public ParamTreeDumper(ParamTree pt, string name) : this(pt, name, null)
 {
 }
Ejemplo n.º 3
0
 public ParamTreeDumper(ParamTree pt, string name, StringBuilder sb)
 {
     this.sb = sb;
     this.pt = pt;
     Write(String.Format("Param tree for: {0}", name));
 }