getInstantiationLocation | R Documentation |
These functions deal with the location of a CXCursor
in a source file. They can retrieve the file line and column number
an offset from the beginning of the file of a cursor.
getLocation(x, type = "Expansion")
getRange(begin, end)
getNullLocation()
isInSystemHeader(location)
x |
a |
type |
a string, one of |
begin , end , location |
a |
Duncan Temple Lang
libclang http://clang.llvm.org/doxygen/group__CINDEX.html
parseTU
getRoutines
f = system.file("exampleCode", "fib.c", package = "RCIndex")
r = getRoutines(f)
r$fib
getLocation(r$fib)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.