added dumpAST to DocParser class to dump AST structures