clang_getToken

Get the raw lexical token starting with the given location.

\param TU the translation unit whose text is being tokenized.

\param Location the source location with which the token starts.

\returns The token starting with the given location or NULL if no such token exist. The returned pointer must be freed with clang_disposeTokens before the translation unit is destroyed.

Meta