<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Andrew,<div><br></div><div>I believe Token::getName() or tok::getTokenName() is what you are looking for...<div><br></div><div>snaroff</div><div><br><div><div>On Nov 14, 2008, at 11:09 AM, Andrew Sutton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Is there any way to get the text of a token, regardless of its kind? Like '>' or '=', or 'Foo' if Foo is an identifier.<br clear="all"><br>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br> _______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></div></div></body></html>