// Retrieve a source range that covers the given token. func (tu TranslationUnit) TokenExtent(t Token) SourceRange { return SourceRange{C.clang_getTokenExtent(tu.c, t.c)} }
/** * \brief Retrieve a source range that covers the given token. */ func (tu TranslationUnit) TokenExtent(tok Token) SourceRange { o := C.clang_getTokenExtent(tu.c, tok.c) return SourceRange{o} }