public override AstVisitAction VisitScriptBlock(ScriptBlockAst scriptBlockAst) { Console.WriteLine("Visited an ScriptBlockAst."); Console.WriteLine(" " + scriptBlockAst.ToString().Replace(Environment.NewLine, Environment.NewLine + " ")); return(AstVisitAction.Continue); }