| Package | Description |
|---|---|
| org.bytedeco.llvm.clang | |
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
CXSourceLocation |
CXSourceLocation.getPointer(long i) |
CXSourceLocation |
CXSourceLocation.int_data(int setter) |
CXSourceLocation |
CXSourceLocation.position(long position) |
CXSourceLocation |
CXSourceLocation.ptr_data(int i,
Pointer setter) |
| Modifier and Type | Method and Description |
|---|---|
void |
CXInclusionVisitor.call(CXFile included_file,
CXSourceLocation inclusion_stack,
int include_len,
CXClientData client_data) |
| Modifier and Type | Method and Description |
|---|---|
static CXSourceLocation |
clang.clang_getCursorLocation(CXCursor arg0)
Retrieve the physical location of the source constructor referenced
by the given cursor.
|
static CXSourceLocation |
clang.clang_getDiagnosticLocation(CXDiagnostic arg0)
Retrieve the source location of the given diagnostic.
|
static CXSourceLocation |
clang.clang_getLocation(CXTranslationUnit tu,
CXFile file,
int line,
int column)
Retrieves the source location associated with a given file/line/column
in a particular translation unit.
|
static CXSourceLocation |
clang.clang_getLocationForOffset(CXTranslationUnit tu,
CXFile file,
int offset)
Retrieves the source location associated with a given character offset
in a particular translation unit.
|
static CXSourceLocation |
clang.clang_getNullLocation()
Retrieve a NULL (invalid) source location.
|
static CXSourceLocation |
clang.clang_getRangeEnd(CXSourceRange range)
Retrieve a source location representing the last character within a
source range.
|
static CXSourceLocation |
clang.clang_getRangeStart(CXSourceRange range)
Retrieve a source location representing the first character within a
source range.
|
static CXSourceLocation |
clang.clang_getTokenLocation(CXTranslationUnit arg0,
CXToken arg1)
Retrieve the source location of the given token.
|
static CXSourceLocation |
clang.clang_indexLoc_getCXSourceLocation(CXIdxLoc loc)
Retrieve the CXSourceLocation represented by the given CXIdxLoc.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
clang.clang_equalLocations(CXSourceLocation loc1,
CXSourceLocation loc2)
Determine whether two source locations, which must refer into
the same translation unit, refer to exactly the same point in the source
code.
|
static CXCursor |
clang.clang_getCursor(CXTranslationUnit arg0,
CXSourceLocation arg1)
Map a source location to the cursor that describes the entity at that
location in the source code.
|
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Legacy API to retrieve the file, line, column, and offset represented
by the given source location.
|
static void |
clang.clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
int[] line,
int[] column) |
static void |
clang.clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
IntBuffer line,
IntBuffer column) |
static void |
clang.clang_getPresumedLocation(CXSourceLocation location,
CXString filename,
IntPointer line,
IntPointer column)
Retrieve the file, line and column represented by the given source
location, as specified in a # line directive.
|
static CXSourceRange |
clang.clang_getRange(CXSourceLocation begin,
CXSourceLocation end)
Retrieve a source range given the beginning and ending source
locations.
|
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static CXToken |
clang.clang_getToken(CXTranslationUnit TU,
CXSourceLocation Location)
Get the raw lexical token starting with the given location.
|
static int |
clang.clang_isBeforeInTranslationUnit(CXSourceLocation loc1,
CXSourceLocation loc2)
Determine for two source locations if the first comes
strictly before the second one in the source code.
|
static int |
clang.clang_Location_isFromMainFile(CXSourceLocation location)
Returns non-zero if the given source location is in the main file of
the corresponding translation unit.
|
static int |
clang.clang_Location_isInSystemHeader(CXSourceLocation location)
Returns non-zero if the given source location is in a system header.
|
Copyright © 2025. All rights reserved.