DotNetWebToolkit.Cil2Js.Transcoder.Print C# (CSharp) Method

Print() static private method

static private Print ( Stmt stmt, string name, bool verbose ) : void
stmt Stmt
name string
verbose bool
return void
        internal static void Print(Stmt stmt, string name, bool verbose) {
            if (verbose) {
                if (name != null && name.StartsWith("Visitor")) {
                    name = name.Substring(7);
                }
                Console.WriteLine(" --- AST Transform Step {0}{1} ---", stmt.Ctx.step++, name == null ? "" : (" '" + name + "'"));
                Console.WriteLine(ShowVisitor.V(stmt));
                Console.WriteLine();
            }
        }