// Retrieve the source location of the given token. func (tu TranslationUnit) TokenLocation(t Token) SourceLocation { return SourceLocation{C.clang_getTokenLocation(tu.c, t.c)} }
/** * \brief Retrieve the source location of the given token. */ func (tu TranslationUnit) TokenLocation(tok Token) SourceLocation { o := C.clang_getTokenLocation(tu.c, tok.c) return SourceLocation{o} }