<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 6, 2015 at 9:07 PM, mobi phil <span dir="ltr"><<a href="mailto:mobi@mobiphil.com" target="_blank" class="cremed">mobi@mobiphil.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div><br></div></span><div>Well, was not trying to find out the the "real" type as obviously the real type is hidden in the ast itself and that is not known when the matcher is being constructed. I am interested indeed in the RestrictedType, Will give a try in few days and report.</div><div><br></div></div></div></div></blockquote><div><br></div></span><div>do not remember exactly, but maybe the reason I did not dig into RestrictedKind is there is no get-er (getRestrictedKind()). Can we trade the bug I found versus asking to implement it? ;) </div></div></div></div></blockquote><div><br></div><div>There is no getRestrictKind() because this is a new implementation detail and I've tried to keep it as such.</div><div>For example, recently I needed this information for an optimization and added DynTypedMatcher::canMatchNodesOfKind() instead of exposing RestrictKind directly.</div><div>If there is a good reason to make it part of the API, we can do that.</div><div>_Sam</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div> regards<br></div></div>
</div></div>
</blockquote></div><br></div></div>