<div dir="ltr">In <span style="font-size:12.8px">StmtPrinter there is a PrintHelper that can be used to override printing of some nodes. </span><span style="font-size:12.8px">I guess </span><span style="font-size:12.8px">PrintHelper was introduced for someone like me that wanted to override some StmtPrinter visitors.</span><div><span style="font-size:12.8px">But </span><span style="font-size:12.8px">DeclPrinter does not supports </span><span style="font-size:12.8px">PrintHelper for some reason.</span><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-18 12:53 GMT-07:00 Roman Popov <span dir="ltr"><<a href="mailto:ripopov@gmail.com" target="_blank">ripopov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, <div>I want to redefine some visitors in DeclPrinter and StmtPrinter, but they are not exported over Clang API. Why is that?<div><br></div><div>Currently I have to copy-paste them into my tool. But this unfortunately leads to some duplication.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Roman</div></font></span></div></div>
</blockquote></div><br></div>