| Modifier and Type | Class and Description |
|---|---|
| public static class | ClangIndex.
Contains the function pointers loaded from the CLANG |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | clang_annotateTokens(long
the translation unit that owns the given tokens TU, CXToken.the set of tokens to annotate Tokens,an array of CursorsNumTokens cursors, whose contents will be replaced with the cursors corresponding to each tokenAnnotate the given set of tokens by providing cursors for each token that can be mapped to a specific entity within the abstract syntax tree. |
| public static CXCodeCompleteResults | Returns: if successful, a newCXCodeCompleteResults structure containing code-completion results, which should eventually be freed with
disposeCodeCompleteResults. If code completion fails, returns NULL.the translation unit in which code-completion should occur. The source files for this translation unit need not be completely up-to-date (and the
contents of those source files may be overridden via TU, ByteBuffer unsaved_files). Cursors referring into the translation unit may be invalidated by this
invocation.the name of the source file where code completion should be performed. This filename may be any file included in the translation unit. complete_filename, int the line at which code-completion should occur complete_line, int the column at which code-completion should occur. Note that the column should point just after the syntactic construct that initiated code
completion, and not in the middle of a lexical token. complete_column, CXUnsavedFile.the Files that have not yet been saved to disk but may be required for parsing or code completion, including the contents of those files. The
contents and name of these files (as specified by unsaved_files,CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their
validity until the call to this function returns.extra options that control the behavior of code completion, expressed as a bitwise OR of the enumerators of the options)CXCodeComplete_Flags
enumeration. The defaultCodeCompleteOptions function returns a default set of code-completion options.Perform code completion at a given location in a translation unit. |
| public static CXCodeCompleteResults | Returns: if successful, a newCXCodeCompleteResults structure containing code-completion results, which should eventually be freed with
disposeCodeCompleteResults. If code completion fails, returns NULL.the translation unit in which code-completion should occur. The source files for this translation unit need not be completely up-to-date (and the
contents of those source files may be overridden via TU, CharSequence unsaved_files). Cursors referring into the translation unit may be invalidated by this
invocation.the name of the source file where code completion should be performed. This filename may be any file included in the translation unit. complete_filename, int the line at which code-completion should occur complete_line, int the column at which code-completion should occur. Note that the column should point just after the syntactic construct that initiated code
completion, and not in the middle of a lexical token. complete_column, CXUnsavedFile.the Files that have not yet been saved to disk but may be required for parsing or code completion, including the contents of those files. The
contents and name of these files (as specified by unsaved_files,CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their
validity until the call to this function returns.extra options that control the behavior of code completion, expressed as a bitwise OR of the enumerators of the options)CXCodeComplete_Flags
enumeration. The defaultCodeCompleteOptions function returns a default set of code-completion options.Perform code completion at a given location in a translation unit. |
| public static int | Returns: the container kind, orCursor_InvalidCode if there is not a containerthe code completion results to query Results, IntBuffer on return, this value will be false if Clang has complete information about the container. If Clang does not have complete information, this value
will be true. IsIncomplete)Returns the cursor kind for the container for the current code completion context. |
| public static CXString | clang_codeCompleteGetContainerUSR(CXCodeCompleteResults
the code completion results to query Results, CXString the USR for the container __result)Returns the USR for the container for the current code completion context. |
| public static long | Returns: the kinds of completions that are appropriate for use along with the given code completion resultsthe code completion results to query Results)Determines what completions are appropriate for the context the given code completion. |
| public static long | Returns: the requested diagnostic. This diagnostic must be freed via a call todisposeDiagnostic.the code completion results to query Results, int the zero-based diagnostic number to retrieve Index)Retrieve a diagnostic associated with the given code completion. |
| public static int | clang_codeCompleteGetNumDiagnostics(CXCodeCompleteResults Results)
Determine the number of diagnostics produced prior to the location where code completion was performed. |
| public static CXString | clang_codeCompleteGetObjCSelector(CXCodeCompleteResults
the code completion results to query Results, CXString the selector (or partial selector) that has been entered thus far for an Objective-C message send __result)Returns the currently-entered selector for an Objective-C message send, formatted like "initWithFoo:bar:". |
| public static CXString | clang_constructUSR_ObjCCategory(ByteBuffer class_name, ByteBuffer category_name, CXString __result)
Construct a USR for a specified Objective-C category. |
| public static CXString | clang_constructUSR_ObjCCategory(CharSequence class_name, CharSequence category_name, CXString __result)
Construct a USR for a specified Objective-C category. |
| public static CXString | clang_constructUSR_ObjCClass(ByteBuffer class_name, CXString __result)
Construct a USR for a specified Objective-C class. |
| public static CXString | clang_constructUSR_ObjCClass(CharSequence class_name, CXString __result)
Construct a USR for a specified Objective-C class. |
| public static CXString | clang_constructUSR_ObjCIvar(ByteBuffer name, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C instance variable and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCIvar(CharSequence name, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C instance variable and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCMethod(ByteBuffer name, boolean isInstanceMethod, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C method and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCMethod(CharSequence name, boolean isInstanceMethod, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C method and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCProperty(ByteBuffer property, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C property and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCProperty(CharSequence property, CXString classUSR, CXString __result)
Construct a USR for a specified Objective-C property and the USR for its containing class. |
| public static CXString | clang_constructUSR_ObjCProtocol(ByteBuffer protocol_name, CXString __result)
Construct a USR for a specified Objective-C protocol. |
| public static CXString | clang_constructUSR_ObjCProtocol(CharSequence protocol_name, CXString __result)
Construct a USR for a specified Objective-C protocol. |
| public static long | |
| public static long | clang_createIndex(boolean excludeDeclarationsFromPCH, boolean displayDiagnostics)
Provides a shared context for creating translation units. |
| public static long | clang_createTranslationUnit(long CIdx, ByteBuffer ast_filename)
Same as |
| public static long | clang_createTranslationUnit(long CIdx, CharSequence ast_filename)
Same as |
| public static int | Returns: zero on success, otherwise returns an error codea non- out_TU)NULL pointer to store the created CXTranslationUnitCreate a translation unit from an AST file ( |
| public static int | Returns: zero on success, otherwise returns an error codea non- out_TU)NULL pointer to store the created CXTranslationUnitCreate a translation unit from an AST file ( |
| public static long | clang_createTranslationUnitFromSourceFile(long
the index object with which the translation unit will be associated CIdx, ByteBuffer the name of the source file to load, or source_filename, PointerBuffer NULL if the source file is included in clang_command_line_argsthe command-line arguments that would be passed to the clang_command_line_args, CXUnsavedFile.clang executable if it were being invoked out-of-process. These command-line options
will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only'
(which is the default), and '-o <output file>'.the files that have not yet been saved to disk but may be required for code completion, including the contents of those files. The contents and
name of these files (as specified by unsaved_filesCXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until
the call to this function returns.Return the |
| public static long | clang_createTranslationUnitFromSourceFile(long
the index object with which the translation unit will be associated CIdx, CharSequence the name of the source file to load, or source_filename, PointerBuffer NULL if the source file is included in clang_command_line_argsthe command-line arguments that would be passed to the clang_command_line_args, CXUnsavedFile.clang executable if it were being invoked out-of-process. These command-line options
will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only'
(which is the default), and '-o <output file>'.the files that have not yet been saved to disk but may be required for code completion, including the contents of those files. The contents and
name of these files (as specified by unsaved_filesCXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until
the call to this function returns.Return the |
| public static long | clang_Cursor_Evaluate(CXCursor C)
If cursor is a statement declaration tries to evaluate the statement and if its variable, tries to evaluate its initializer, into its corresponding type. |
| public static CXCursor | clang_Cursor_getArgument(CXCursor C, int i, CXCursor __result)
Retrieve the argument cursor of a function or method. |
| public static CXString | clang_Cursor_getBriefCommentText(CXCursor C, CXString __result)
Given a cursor that represents a documentable entity (e.g., declaration), return the associated; otherwise return the first paragraph. |
| public static CXSourceRange | clang_Cursor_getCommentRange(CXCursor C, CXSourceRange __result)
Given a cursor that represents a declaration, return the associated comment's source range. |
| public static CXStringSet | clang_Cursor_getCXXManglings(CXCursor cursor)
Retrieve the |
| public static CXString | clang_Cursor_getMangling(CXCursor cursor, CXString __result)
Retrieve the |
| public static long | clang_Cursor_getModule(CXCursor C)
Given a |
| public static int | clang_Cursor_getNumArguments(CXCursor C)
Retrieve the number of non-variadic arguments associated with a given cursor. |
| public static int | clang_Cursor_getNumTemplateArguments(CXCursor C)
Returns the number of template args of a function, struct, or class decl representing a template specialization. |
| public static int | clang_Cursor_getObjCDeclQualifiers(CXCursor C)
Given a cursor that represents an Objective-C method or parameter declaration, return the associated Objective-C qualifiers for the return type or the parameter respectively. |
| public static CXStringSet | clang_Cursor_getObjCManglings(CXCursor cursor)
Retrieve the |
| public static int | clang_Cursor_getObjCPropertyAttributes(CXCursor C, int
reserved for future use, pass 0 reserved)Given a cursor that represents a property declaration, return the associated property attributes. |
| public static CXString | clang_Cursor_getObjCPropertyGetterName(CXCursor C, CXString __result)
Given a cursor that represents a property declaration, return the name of the method that implements the getter. |
| public static CXString | clang_Cursor_getObjCPropertySetterName(CXCursor C, CXString __result)
Given a cursor that represents a property declaration, return the name of the method that implements the setter, if any. |
| public static int | Returns: the selector index if the cursor is an Objective-C method or message expression and the cursor is pointing to a selector identifier, or -1 otherwiseIf the cursor points to a selector identifier in an Objective-C method or message expression, this returns the selector index. |
| public static long | |
| public static CXString | clang_Cursor_getRawCommentText(CXCursor C, CXString __result)
Given a cursor that represents a declaration, return the associated comment text, including comment markers. |
| public static CXType | clang_Cursor_getReceiverType(CXCursor C, CXType __result)
Given a cursor pointing to an Objective-C message or property reference, or C++ method call, returns the |
| public static CXSourceRange | clang_Cursor_getSpellingNameRange(CXCursor cursor, int
the index of the spelling name piece. If this is greater than the actual number of pieces, it will return a pieceIndex, int NULL (invalid) range.reserved options, CXSourceRange __result)Retrieve a range for a piece that forms the cursors spelling name. |
| public static int | clang_Cursor_getStorageClass(CXCursor cursor)
Returns the storage class for a function or variable declaration. |
| public static int | clang_Cursor_getTemplateArgumentKind(CXCursor C, int I)
Retrieve the kind of the I'th template argument of the |
| public static CXType | clang_Cursor_getTemplateArgumentType(CXCursor C, int I, CXType __result)
Retrieve a |
| public static long | clang_Cursor_getTemplateArgumentUnsignedValue(CXCursor C, int I)
Retrieve the value of an |
| public static long | clang_Cursor_getTemplateArgumentValue(CXCursor C, int I)
Retrieve the value of an |
| public static long | clang_Cursor_getTranslationUnit(CXCursor cursor)
Returns the translation unit that a cursor originated from. |
| public static CXCursor | clang_Cursor_getVarDeclInitializer(CXCursor cursor, CXCursor __result)
If cursor refers to a variable declaration and it has initializer returns cursor referring to the initializer otherwise return null cursor. |
| public static boolean | |
| public static int | clang_Cursor_hasVarDeclExternalStorage(CXCursor cursor)
If cursor refers to a variable declaration that has external storage returns 1. |
| public static int | clang_Cursor_hasVarDeclGlobalStorage(CXCursor cursor)
If cursor refers to a variable declaration that has global storage returns 1. |
| public static boolean | clang_Cursor_isAnonymous(CXCursor C)
Determine whether the given cursor represents an anonymous tag or namespace. |
| public static boolean | clang_Cursor_isAnonymousRecordDecl(CXCursor C)
Determine whether the given cursor represents an anonymous record declaration. |
| public static boolean | clang_Cursor_isBitField(CXCursor C)
Returns non-zero if the cursor specifies a Record member that is a bitfield. |
| public static boolean | clang_Cursor_isDynamicCall(CXCursor C)
Given a cursor pointing to a C++ method call or an Objective-C message, returns non-zero if the method/message is "dynamic", meaning: For a C++ method: the call is virtual. |
| public static boolean | clang_Cursor_isExternalSymbol(CXCursor C, CXString.
if non- language,NULL, and the attribute is present, will be set to the 'language' string from the attributeif non- definedIn,NULL, and the attribute is present, will be set to the 'definedIn' string from the attributeif non- isGenerated)NULL, and the attribute is present, will be set to non-zero if the 'generated_declaration' is set in the attributeReturns non-zero if the given cursor points to a symbol marked with external_source_symbol attribute. |
| public static boolean | clang_Cursor_isFunctionInlined(CXCursor C)
Determine whether a |
| public static boolean | clang_Cursor_isInlineNamespace(CXCursor C)
Determine whether the given cursor represents an inline namespace declaration. |
| public static boolean | clang_Cursor_isMacroBuiltin(CXCursor C)
Determine whether a |
| public static boolean | clang_Cursor_isMacroFunctionLike(CXCursor C)
Determine whether a |
| public static boolean | |
| public static boolean | clang_Cursor_isObjCOptional(CXCursor C)
Given a cursor that represents an Objective-C method or property declaration, return non-zero if the declaration was affected by "@optional". |
| public static boolean | clang_Cursor_isVariadic(CXCursor C)
Returns non-zero if the given cursor is a variadic function or method. |
| public static boolean | Returns: non-zero if the set contains the specified cursorQueries a CXCursorSet to see if it contains a specific CXCursor. |
| public static boolean | Returns: zero if the CXCursor was already in the set, and non-zero otherwiseInserts a CXCursor into a CXCursorSet. |
| public static int | Returns: a bitmask of options, a bitwise OR ofCXGlobalOpt_XXX flags that are associated with the given CXIndex objectGets the general options associated with a CXIndex. |
| public static void | clang_CXIndex_setGlobalOptions(long index, int
a bitmask of options, a bitwise OR of options)CXGlobalOpt_XXX flagsSets general options associated with a |
| public static void | clang_CXIndex_setInvocationEmissionPathOption(long index, ByteBuffer Path)
Sets the invocation emission path option in a |
| public static void | clang_CXIndex_setInvocationEmissionPathOption(long index, CharSequence Path)
Sets the invocation emission path option in a |
| public static boolean | clang_CXXConstructor_isConvertingConstructor(CXCursor C)
Determine if a C++ constructor is a converting constructor. |
| public static boolean | clang_CXXConstructor_isCopyConstructor(CXCursor C)
Determine if a C++ constructor is a copy constructor. |
| public static boolean | clang_CXXConstructor_isDefaultConstructor(CXCursor C)
Determine if a C++ constructor is the default constructor. |
| public static boolean | clang_CXXConstructor_isMoveConstructor(CXCursor C)
Determine if a C++ constructor is a move constructor. |
| public static boolean | |
| public static boolean | clang_CXXMethod_isConst(CXCursor C)
Determine if a C++ member function or member function template is declared 'const'. |
| public static boolean | clang_CXXMethod_isCopyAssignmentOperator(CXCursor C)
Determine if a C++ member function is a copy-assignment operator, returning 1 if such is the case and 0 otherwise. |
| public static boolean | |
| public static boolean | |
| public static boolean | clang_CXXMethod_isMoveAssignmentOperator(CXCursor C)
Determine if a C++ member function is a move-assignment operator, returning 1 if such is the case and 0 otherwise. |
| public static boolean | clang_CXXMethod_isPureVirtual(CXCursor C)
Determine if a C++ member function or member function template is pure virtual. |
| public static boolean | clang_CXXMethod_isStatic(CXCursor C)
Determine if a C++ member function or member function template is declared 'static'. |
| public static boolean | clang_CXXMethod_isVirtual(CXCursor C)
Determine if a C++ member function or member function template is explicitly declared 'virtual' or if it overrides a virtual method from one of the base classes. |
| public static boolean | clang_CXXRecord_isAbstract(CXCursor C)
Determine if a C++ record is abstract, i.e. whether a class or struct has a pure virtual member function. |
| public static int | clang_defaultCodeCompleteOptions()
Returns a default set of code-completion options that can be passed to |
| public static int | Returns: a set of display options suitable for use withformatDiagnosticRetrieve the set of display options most similar to the default behavior of the clang compiler. |
| public static int | clang_defaultEditingTranslationUnitOptions()
Returns the set of flags that is suitable for parsing a translation unit that is being edited. |
| public static int | clang_defaultReparseOptions(long TU)
Returns the set of flags that is suitable for reparsing a translation unit. |
| public static int | clang_defaultSaveOptions(long TU)
Returns the set of flags that is suitable for saving a translation unit. |
| public static void | clang_disposeCodeCompleteResults(CXCodeCompleteResults Results)
Free the given set of code-completion results. |
| public static void | |
| public static void | clang_disposeCXPlatformAvailability(CXPlatformAvailability availability)
Free the memory associated with a |
| public static void | |
| public static void | |
| public static void | clang_disposeDiagnosticSet(long Diags)
Release a |
| public static void | |
| public static void | clang_disposeOverriddenCursors(CXCursor.
Free the set of overridden cursors returned by |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: non-zero if the source locations refer to the same location, zero if they refer to different locationsDetermine whether two source locations, which must refer into the same translation unit, refer to exactly the same point in the source code. |
| public static boolean | Returns: non-zero if the ranges are the same, zero if they differDetermine whether two ranges are equivalent. |
| public static boolean | Returns: non-zero if theCXTypes represent the same type and zero otherwiseDetermine whether two |
| public static void | |
| public static double | |
| public static int | |
| public static long | clang_EvalResult_getAsLongLong(long E)
Returns the evaluation result as a long long integer if the kind is Int. |
| public static String | clang_EvalResult_getAsStr(long E)
Returns the evaluation result as a constant string if the kind is other than Int or float. |
| public static long | clang_EvalResult_getAsUnsigned(long E)
Returns the evaluation result as an unsigned integer if the kind is Int and |
| public static int | |
| public static boolean | clang_EvalResult_isUnsignedInt(long E)
Returns a non-zero value if the kind is Int and the evaluation result resulted in an unsigned integer. |
| public static void | |
| public static boolean | clang_File_isEqual(long file1, long file2)
Returns non-zero if the |
| public static CXString | |
| public static int | Returns: one of the CXResult enumeratorstranslation unit containing the file to query TU, long to search for file, CXCursorAndRangeVisitor #import/#include directivescallback that will receive pairs of visitor)CXCursor/CXSourceRange for each directive foundFind |
| public static int | Returns: one of theCXResult enumeratorspointing to a declaration or a reference of one cursor, long to search for references file, CXCursorAndRangeVisitor callback that will receive pairs of visitor)CXCursor/CXSourceRange for each reference found. The CXSourceRange will point inside the file;
if the reference is inside a macro (and not a macro argument) the CXSourceRange will be invalid.Find references of a declaration in a specific file. |
| public static CXString | clang_formatDiagnostic(long
the diagnostic to print Diagnostic, int a set of options that control the diagnostic display, created by combining Options, CXString CXDiagnosticDisplayOptions valuesa new string containing for formatted diagnostic __result)Format the given diagnostic in a manner that is suitable for display. |
| public static int | |
| public static CXSourceRangeList | clang_getAllSkippedRanges(long tu)
Retrieve all ranges from all files that were skipped by the preprocessor. |
| public static CXType | clang_getArgType(CXType T, int i, CXType __result)
Retrieve the type of a parameter of a function type. |
| public static CXType | |
| public static long | |
| public static CXCursor | clang_getCanonicalCursor(CXCursor cursor, CXCursor
the canonical cursor for the entity referred to by the given cursor __result)Retrieve the canonical cursor corresponding to the given cursor. |
| public static CXType | |
| public static long | |
| public static CXString | clang_getClangVersion(CXString __result)
Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable). |
| public static CXString | clang_getCompletionAnnotation(long
the completion string to query completion_string, int the 0-based index of the annotation of the completion string annotation_number, CXString annotation string associated with the completion at index __result)annotation_number, or a NULL string if that annotation is not availableRetrieve the annotation associated with the given completion string. |
| public static int | Returns: the availability of the completion stringthe completion string to query completion_string)Determine the availability of the entity that this code-completion string refers to. |
| public static CXString | clang_getCompletionBriefComment(long completion_string, CXString __result)
Retrieve the brief documentation comment attached to the declaration that corresponds to the given completion string. |
| public static long | Returns: the completion string associated with the chunk at indexchunk_numberthe completion string to query completion_string, int the 0-based index of the chunk in the completion string chunk_number)Retrieve the completion string associated with a particular chunk within a completion string. |
| public static int | Returns: the kind of the chunk at the indexchunk_numberthe completion string to query completion_string, int the 0-based index of the chunk in the completion string chunk_number)Determine the kind of a particular chunk within a completion string. |
| public static CXString | clang_getCompletionChunkText(long
the completion string to query completion_string, int the 0-based index of the chunk in the completion string chunk_number, CXString the text associated with the chunk at index __result)chunk_numberRetrieve the text associated with a particular chunk within a completion string. |
| public static CXString | clang_getCompletionFixIt(CXCodeCompleteResults
the structure keeping all completion results results, int the index of the completion completion_index, int the index of the fix-it for the completion at fixit_index, CXSourceRange completion_indexthe fix-it range that must be replaced before the completion at completion_index can be applied replacement_range, CXString the fix-it string that must replace the code at replacement_range before the completion at completion_index can be applied __result)Fix-its that must be applied before inserting the text for the corresponding completion. |
| public static int | Returns: the number of annotations associated with the given completion stringthe completion string to query completion_string)Retrieve the number of annotations associated with the given completion string. |
| public static int | Returns: the number of fix-its which must be applied before the completion atcompletion_index can be appliedthe structure keeping all completion results results, int the index of the completion completion_index)Retrieve the number of fix-its for the given completion index. |
| public static CXString | clang_getCompletionParent(long
the code completion string whose parent is being queried completion_string, IntBuffer DEPRECATED: always set to kind, CXString Cursor_NotImplemented if non-NULLthe name of the completion parent, e.g., "NSObject" if the completion string represents a method in the __result)NSObject class.Retrieve the parent context of the given completion string. |
| public static int | Returns: the priority of this completion string. Smaller values indicate higher-priority (more likely) completions.the completion string to query completion_string)Determine the priority of this code completion. |
| public static String | |
| public static CXCursor | clang_getCursor(long TU, CXSourceLocation location, CXCursor
a cursor representing the entity at the given source location, or a __result)NULL cursor if no such entity can be foundMap a source location to the cursor that describes the entity at that location in the source code. |
| public static int | Returns: the availability of the cursorthe cursor to query cursor)Determine the availability of the entity that this cursor refers to, taking the current target platform into account. |
| public static long | Returns: a non-context-sensitive completion string for declaration and macro definition cursors, orNULL for other kinds of cursorsthe cursor to query cursor)Retrieve a completion string for an arbitrary declaration or macro definition cursor. |
| public static CXCursor | clang_getCursorDefinition(CXCursor cursor, CXCursor __result)
For a cursor that is either a reference to or a declaration of some entity, retrieve a cursor that describes the definition of that entity. |
| public static CXString | clang_getCursorDisplayName(CXCursor cursor, CXString __result)
Retrieve the display name for the entity referenced by this cursor. |
| public static int | clang_getCursorExceptionSpecificationType(CXCursor C)
Retrieve the exception specification type associated with a given cursor. |
| public static CXSourceRange | clang_getCursorExtent(CXCursor cursor, CXSourceRange __result)
Retrieve the physical extent of the source construct referenced by the given cursor. |
| public static int | |
| public static CXString | |
| public static int | clang_getCursorLanguage(CXCursor cursor)
Determine the "language" of the entity referred to by a given cursor. |
| public static CXCursor | clang_getCursorLexicalParent(CXCursor cursor, CXCursor __result)
Determine the lexical parent of the given cursor. |
| public static int | clang_getCursorLinkage(CXCursor cursor)
Determine the linkage of the entity referred to by a given cursor. |
| public static CXSourceLocation | clang_getCursorLocation(CXCursor cursor, CXSourceLocation __result)
Retrieve the physical location of the source constructor referenced by the given cursor. |
| public static int | Returns: the number of platforms (N) for which availability information is available (which is unrelated toavailability_size)the cursor to query cursor, IntBuffer if non- always_deprecated, CXString NULL, will be set to indicate whether the entity is deprecated on all platformsif non- deprecated_message, IntBuffer NULL, will be set to the message text provided along with the unconditional deprecation of this entity. The client is responsible for
deallocating this string.if non- always_unavailable, CXString NULL, will be set to indicate whether the entity is unavailable on all platformsif non- unavailable_message, CXPlatformAvailability.NULL, will be set to the message text provided along with the unconditional unavailability of this entity. The client is responsible for
deallocating this string.if non- availabilityNULL, an array of CXPlatformAvailability instances that will be populated with platform availability information, up to either the
number of platforms for which availability information is available (as returned by this function) or availability_size, whichever is
smallerDetermine the availability of the entity that this cursor refers to on any platforms for which availability information is known. |
| public static CXString | clang_getCursorPrettyPrinted(CXCursor
the cursor representing a declaration Cursor, long the policy to control the entities being printed. If Policy, CXString NULL, a default policy is used.the pretty printed declaration or the empty string for other cursors __result)Pretty print declarations. |
| public static long | |
| public static CXCursor | clang_getCursorReferenced(CXCursor cursor, CXCursor __result)
For a cursor that is a reference, retrieve a cursor representing the entity that it references. |
| public static CXSourceRange | clang_getCursorReferenceNameRange(CXCursor
a cursor pointing to a member reference, a declaration reference, or an operator call C, int a bitset with three independent flags: NameFlags, int NameRange_WantQualifier, NameRange_WantTemplateArgs, and NameRange_WantSinglePiecefor contiguous names or when passing the flag PieceIndex, CXSourceRange NameRange_WantSinglePiece, only one piece with index 0 is available. When the
NameRange_WantSinglePiece flag is not passed for a non-contiguous names, this index can be used to retrieve the individual pieces of the name.
See also NameRange_WantSinglePiece.the piece of the name pointed to by the given cursor. If there is no name, or if the __result)PieceIndex is out-of-range, a null-cursor will be
returned.Given a cursor that references something else, return the source range covering that reference. |
| public static CXType | clang_getCursorResultType(CXCursor C, CXType __result)
Retrieve the return type associated with a given cursor. |
| public static CXCursor | clang_getCursorSemanticParent(CXCursor cursor, CXCursor __result)
Determine the semantic parent of the given cursor. |
| public static CXString | clang_getCursorSpelling(CXCursor cursor, CXString __result)
Retrieve a name for the entity referenced by this cursor. |
| public static int | clang_getCursorTLSKind(CXCursor cursor)
Determine the "thread-local storage (TLS) kind" of the declaration referred to by a cursor. |
| public static CXType | |
| public static CXString | clang_getCursorUSR(CXCursor cursor, CXString __result)
Retrieve a Unified Symbol Resolution (USR) for the entity referenced by the given cursor. |
| public static int | Returns: the visibility of the cursorthe cursor to query cursor)Describe the visibility of the entity referred to by a cursor. |
| public static CXTUResourceUsage | clang_getCXTUResourceUsage(long TU, CXTUResourceUsage __result)
Return the memory usage of a translation unit. |
| public static int | clang_getCXXAccessSpecifier(CXCursor cursor)
Returns the access control level for the referenced object. |
| public static CXString | clang_getDeclObjCTypeEncoding(CXCursor C, CXString __result)
Returns the Objective-C type encoding for the specified declaration. |
| public static void | clang_getDefinitionSpellingAndExtent(CXCursor cursor, PointerBuffer startBuf, PointerBuffer endBuf, IntBuffer startLine, IntBuffer startColumn, IntBuffer endLine, IntBuffer endColumn)
|
| public static long | Returns: the requested diagnostic. This diagnostic must be freed via a call todisposeDiagnostic.the translation unit to query Unit, int the zero-based diagnostic number to retrieve Index)Retrieve a diagnostic associated with the given translation unit. |
| public static int | Returns: the number of the category that contains this diagnostic, or zero if this diagnostic is uncategorizedRetrieve the category number for this diagnostic. |
| public static CXString | clang_getDiagnosticCategoryText(long Diagnostic, CXString
the text of the given diagnostic category __result)Retrieve the diagnostic category text for a given diagnostic. |
| public static CXString | clang_getDiagnosticFixIt(long
the diagnostic whose fix-its are being queried Diagnostic, int the zero-based index of the fix-it FixIt, CXSourceRange the source range whose contents will be replaced with the returned replacement string. Note that source ranges are half-open ranges [a, b), so the
source code should be replaced from a and up to (but not including) b. ReplacementRange, CXString a string containing text that should be replace the source code indicated by the __result)ReplacementRangeRetrieve the replacement information for a given fix-it. |
| public static long | Returns: the requested diagnostic. This diagnostic must be freed via a call todisposeDiagnostic.the Diags, int CXDiagnosticSet to querythe zero-based diagnostic number to retrieve Index)Retrieve a diagnostic associated with the given |
| public static CXSourceLocation | clang_getDiagnosticLocation(long Diagnostic, CXSourceLocation __result)
Retrieve the source location of the given diagnostic. |
| public static int | clang_getDiagnosticNumFixIts(long Diagnostic)
Determine the number of fix-it hints associated with the given diagnostic. |
| public static int | clang_getDiagnosticNumRanges(long Diagnostic)
Determine the number of source ranges associated with the given diagnostic. |
| public static CXString | clang_getDiagnosticOption(long
the diagnostic to be queried Diag, CXString if non- Disable, CXString NULL, will be set to the option that disables this diagnostic (if any)a string that contains the command-line option used to enable this warning, such as "-Wconversion" or "-pedantic" __result)Retrieve the name of the command-line option that enabled this diagnostic. |
| public static CXSourceRange | clang_getDiagnosticRange(long
the diagnostic whose range is being extracted Diagnostic, int the zero-based index specifying which range to Range, CXSourceRange the requested source range __result)Retrieve a source range associated with the diagnostic. |
| public static long | clang_getDiagnosticSetFromTU(long
the translation unit to query Unit)Retrieve the complete set of diagnostics associated with a translation unit. |
| public static int | |
| public static CXString | clang_getDiagnosticSpelling(long Diagnostic, CXString __result)
Retrieve the text of the given diagnostic. |
| public static CXType | clang_getElementType(CXType T, CXType __result)
Return the element type of an array, complex, or vector type. |
| public static long | clang_getEnumConstantDeclUnsignedValue(CXCursor C)
Retrieve the integer value of an enum constant declaration as an unsigned long long. |
| public static long | clang_getEnumConstantDeclValue(CXCursor C)
Retrieve the integer value of an enum constant declaration as a signed long long. |
| public static CXType | clang_getEnumDeclIntegerType(CXCursor C, CXType __result)
Retrieve the integer type of an enum declaration. |
| public static int | clang_getExceptionSpecificationType(CXType T)
Retrieve the exception specification type associated with a function type. |
| public static void | clang_getExpansionLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts location, PointerBuffer [out] if non- file, IntBuffer NULL, will be set to the file to which the given source location points[out] if non- line, IntBuffer NULL, will be set to the line to which the given source location points[out] if non- column, IntBuffer NULL, will be set to the column to which the given source location points[out] if non- offset)NULL, will be set to the offset into the buffer to which the given source location pointsRetrieve the file, line, column, and offset represented by the given source location. |
| public static int | clang_getFieldDeclBitWidth(CXCursor C)
Retrieve the bit width of a bit field declaration as an integer. |
| public static long | Returns: the file handle for the named file in the translation unittu, or a NULL file handle if the file was not a part of this translation unitthe translation unit tu, ByteBuffer the name of the file file_name)Retrieve a file handle within the given translation unit. |
| public static long | Returns: the file handle for the named file in the translation unittu, or a NULL file handle if the file was not a part of this translation unitthe translation unit tu, CharSequence the name of the file file_name)Retrieve a file handle within the given translation unit. |
| public static ByteBuffer | Returns: a pointer to the buffer in memory that holds the contents offile, or a NULL pointer when the file is not loadedthe translation unit tu, long the file for which to retrieve the buffer file)Retrieve the buffer associated with the given file. |
| public static void | clang_getFileLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts location, PointerBuffer [out] if non- file, IntBuffer NULL, will be set to the file to which the given source location points[out] if non- line, IntBuffer NULL, will be set to the line to which the given source location points[out] if non- column, IntBuffer NULL, will be set to the column to which the given source location points[out] if non- offset)NULL, will be set to the offset into the buffer to which the given source location pointsRetrieve the file, line, column, and offset represented by the given source location. |
| public static CXString | clang_getFileName(long SFile, CXString __result)
Retrieve the complete file and path name of the given file. |
| public static long | |
| public static int | Returns: if there was a failure getting the unique ID, returns non-zero, otherwise returns 0the file to get the ID for file, CXFileUniqueID stores the returned CXFileUniqueID outID)Retrieve the unique ID for the given |
| public static int | clang_getFunctionTypeCallingConv(CXType T)
Retrieve the calling convention associated with a function type. |
| public static CXType | clang_getIBOutletCollectionType(CXCursor cursor, CXType __result)
For cursors representing an |
| public static long | clang_getIncludedFile(CXCursor cursor)
Retrieve the file that is included by the given inclusion directive cursor. |
| public static void | clang_getInclusions(long tu, CXInclusionVisitorI visitor, long client_data)
Visit the set of preprocessor inclusions in a translation unit. |
| public static CXSourceLocation | clang_getLocation(long tu, long file, int line, int column, CXSourceLocation __result)
Retrieves the source location associated with a given file/line/column in a particular translation unit. |
| public static CXSourceLocation | clang_getLocationForOffset(long tu, long file, int offset, CXSourceLocation __result)
Retrieves the source location associated with a given character offset in a particular translation unit. |
| public static long | clang_getModuleForFile(long TU, long file)
Given a |
| public static CXType | clang_getNonReferenceType(CXType CT, CXType __result)
For reference types (e.g., |
| public static CXCursor | |
| public static CXSourceLocation | |
| public static CXSourceRange | |
| public static int | clang_getNumArgTypes(CXType T)
Retrieve the number of non-variadic parameters associated with a function type. |
| public static int | clang_getNumCompletionChunks(long completion_string)
Retrieve the number of chunks in the given code-completion string. |
| public static int | clang_getNumDiagnostics(long Unit)
Determine the number of diagnostics produced for the given translation unit. |
| public static int | |
| public static long | |
| public static int | Returns: the number of overloaded declarations referenced bycursor. If it is not a CXCursor_OverloadedDeclRef cursor, returns 0.the cursor whose overloaded declarations are being queried cursor)Determine the number of overloaded declarations referenced by a |
| public static CXCursor | clang_getOverloadedDecl(CXCursor
the cursor whose overloaded declarations are being queried cursor, int the zero-based index into the set of overloaded declarations in the cursor index, CXCursor a cursor representing the declaration referenced by the given __result)cursor at the specified index. If the cursor does not have an associated
set of overloaded declarations, or if the index is out of bounds, returns getNullCursor;Retrieve a cursor for one of the overloaded declarations referenced by a |
| public static void | clang_getOverriddenCursors(CXCursor
a cursor representing an Objective-C or C++ method. This routine will compute the set of methods that this method overrides. cursor, PointerBuffer a pointer whose pointee will be replaced with a pointer to an array of cursors, representing the set of overridden methods. If there are no
overridden methods, the pointee will be set to overridden, IntBuffer NULL. The pointee must be freed via a call to disposeOverriddenCursors.a pointer to the number of overridden functions, will be set to the number of overridden functions in the array pointed to by num_overridden)overriddenDetermine the set of methods that are overridden by the given method. |
| public static CXType | |
| public static void | clang_getPresumedLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts location, CXString.[out] if non- filename,NULL, will be set to the filename of the source location. Note that filenames returned will be for "virtual" files, which don't
necessarily exist on the machine running clang - e.g. when parsing preprocessed output obtained from a different environment. If a non-NULL value
is passed in, remember to dispose of the returned value using clang_disposeString() once you've finished with it. For an invalid source
location, an empty string is returned.[out] if non- line, IntBuffer NULL, will be set to the line number of the source location. For an invalid source location, zero is returned.[out] if non- column)NULL, will be set to the column number of the source location. For an invalid source location, zero is returned.Retrieve the file, line and column represented by the given source location, as specified in a # line directive. |
| public static CXSourceRange | clang_getRange(CXSourceLocation begin, CXSourceLocation end, CXSourceRange __result)
Retrieve a source range given the beginning and ending source locations. |
| public static CXSourceLocation | clang_getRangeEnd(CXSourceRange range, CXSourceLocation __result)
Retrieve a source location representing the last character within a source range. |
| public static CXSourceLocation | clang_getRangeStart(CXSourceRange range, CXSourceLocation __result)
Retrieve a source location representing the first character within a source range. |
| public static long | Returns: the requested remapping. This remapping must be freed via a call toremap_dispose. Can return NULL if an error occurred.the path that contains metadata about remappings path)Retrieve a remapping. |
| public static long | Returns: the requested remapping. This remapping must be freed via a call toremap_dispose. Can return NULL if an error occurred.the path that contains metadata about remappings path)Retrieve a remapping. |
| public static long | Returns: the requested remapping. This remapping must be freed via a call toremap_dispose. Can return NULL if an error occurred.pointer to an array of file paths containing remapping info filePaths)Retrieve a remapping. |
| public static CXType | clang_getResultType(CXType T, CXType __result)
Retrieve the return type associated with a function type. |
| public static CXSourceRangeList | clang_getSkippedRanges(long tu, long file)
Retrieve all ranges that were skipped by the preprocessor. |
| public static CXCursor | clang_getSpecializedCursorTemplate(CXCursor
a cursor that may be a specialization of a template or a member of a template C, CXCursor if the given cursor is a specialization or instantiation of a template or a member thereof, the template or member that it specializes or from which it
was instantiated. Otherwise, returns a __result)NULL cursor.Given a cursor that may represent a specialization or instantiation of a template, retrieve the cursor that represents the template that it specializes or from which it was instantiated. |
| public static void | clang_getSpellingLocation(CXSourceLocation
the location within a source file that will be decomposed into its parts location, PointerBuffer [out] if non- file, IntBuffer NULL, will be set to the file to which the given source location points[out] if non- line, IntBuffer NULL, will be set to the line to which the given source location points[out] if non- column, IntBuffer NULL, will be set to the column to which the given source location points[out] if non- offset)NULL, will be set to the offset into the buffer to which the given source location pointsRetrieve the file, line, column, and offset represented by the given source location. |
| public static int | Returns: the cursor kind of the specializations that would be generated by instantiating the templateC. If C is not a template, returns
Cursor_NoDeclFound.the cursor to query. This cursor should represent a template declaration. C)Given a cursor that represents a template, determine the cursor kind of the specializations would be generated by instantiating the template. |
| public static CXToken | Returns: the token starting with the given location orNULL if no such token exist. The returned pointer must be freed with disposeTokens before the
translation unit is destroyed.the translation unit whose text is being tokenized TU, CXSourceLocation the source location with which the token starts Location)Get the raw lexical token starting with the given location. |
| public static CXSourceRange | clang_getTokenExtent(long TU, CXToken token, CXSourceRange __result)
Retrieve a source range that covers the given token. |
| public static int | |
| public static CXSourceLocation | clang_getTokenLocation(long TU, CXToken token, CXSourceLocation __result)
Retrieve the source location of the given token. |
| public static CXString | clang_getTokenSpelling(long TU, CXToken token, CXString __result)
Determine the spelling of the given token. |
| public static CXCursor | clang_getTranslationUnitCursor(long TU, CXCursor __result)
Retrieve the cursor that represents the given translation unit. |
| public static CXString | clang_getTranslationUnitSpelling(long CTUnit, CXString __result)
Get the original translation unit source file name. |
| public static long | |
| public static String | clang_getTUResourceUsageName(int kind)
Returns the human-readable null-terminated C string that represents the name of the memory category. |
| public static CXCursor | clang_getTypeDeclaration(CXType T, CXCursor __result)
Return the cursor for the declaration of the given type. |
| public static CXType | clang_getTypedefDeclUnderlyingType(CXCursor C, CXType __result)
Retrieve the underlying type of a typedef declaration. |
| public static CXString | |
| public static CXString | |
| public static CXString | clang_getTypeSpelling(CXType CT, CXString __result)
Pretty-print the underlying type using the rules of the language of the translation unit from which it came. |
| public static CXType | clang_getUnqualifiedType(CXType CT, CXType __result)
Retrieve the unqualified variant of the given type, removing as little sugar as possible. |
| public static int | |
| public static long | clang_index_getClientContainer(CXIdxContainerInfo info)
For retrieving a custom |
| public static long | clang_index_getClientEntity(CXIdxEntityInfo info)
For retrieving a custom |
| public static CXIdxCXXClassDeclInfo | |
| public static CXIdxIBOutletCollectionAttrInfo | |
| public static CXIdxObjCCategoryDeclInfo | |
| public static CXIdxObjCContainerDeclInfo | |
| public static CXIdxObjCInterfaceDeclInfo | |
| public static CXIdxObjCPropertyDeclInfo | |
| public static CXIdxObjCProtocolRefListInfo | |
| public static boolean | |
| public static void | clang_index_setClientContainer(CXIdxContainerInfo info, long container)
For setting a custom |
| public static void | clang_index_setClientEntity(CXIdxEntityInfo info, long entity)
For setting a custom |
| public static long | clang_IndexAction_create(long
the index object with which the index action will be associated CIdx)An indexing action/session, to be applied to one or multiple translation units. |
| public static void | |
| public static CXSourceLocation | clang_indexLoc_getCXSourceLocation(CXIdxLoc loc, CXSourceLocation __result)
Retrieve the |
| public static void | clang_indexLoc_getFileLocation(CXIdxLoc loc, PointerBuffer indexFile, PointerBuffer file, IntBuffer line, IntBuffer column, IntBuffer offset)
Retrieve the |
| public static int | Returns: 0 on success or if there were errors from which the compiler could recover. If there is a failure from which there is no recovery, returns a non-zeroCXErrorCode.pointer data supplied by the client, which will be passed to the invoked callbacks client_data, IndexerCallbacks pointer to indexing callbacks that the client implements index_callbacks, int size of index_callbacks_size, int IndexerCallbacks structure that gets passed in index_callbacksa bitmask of options that affects how indexing is performed. This should be a bitwise OR of the index_options, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.CXIndexOpt_XXX flags.pointer to store a out_TU, int TU_options)CXTranslationUnit that can be reused after indexing is finished. Set to NULL if you do not require it.Index the given source file and the translation unit corresponding to that file via callbacks implemented through |
| public static int | Returns: 0 on success or if there were errors from which the compiler could recover. If there is a failure from which there is no recovery, returns a non-zeroCXErrorCode.pointer data supplied by the client, which will be passed to the invoked callbacks client_data, IndexerCallbacks pointer to indexing callbacks that the client implements index_callbacks, int size of index_callbacks_size, int IndexerCallbacks structure that gets passed in index_callbacksa bitmask of options that affects how indexing is performed. This should be a bitwise OR of the index_options, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.CXIndexOpt_XXX flags.pointer to store a out_TU, int TU_options)CXTranslationUnit that can be reused after indexing is finished. Set to NULL if you do not require it.Index the given source file and the translation unit corresponding to that file via callbacks implemented through |
| public static int | clang_indexSourceFileFullArgv(long action, long client_data, IndexerCallbacks index_callbacks, int index_callbacks_size, int index_options, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static int | clang_indexSourceFileFullArgv(long action, long client_data, IndexerCallbacks index_callbacks, int index_callbacks_size, int index_options, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static boolean | Returns: if there is a failure from which there is no recovery, returns non-zero, otherwise returns 0Index the given translation unit via callbacks implemented through |
| public static boolean | |
| public static boolean | clang_isConstQualifiedType(CXType T)
Determine whether a |
| public static boolean | clang_isCursorDefinition(CXCursor cursor)
Determine whether the declaration pointed to by this cursor is also a definition of that entity. |
| public static boolean | |
| public static boolean | |
| public static boolean | clang_isFileMultipleIncludeGuarded(long tu, long file)
Determine whether the given header is guarded against multiple inclusions, either with the conventional #ifndef/#define/#endif macro guards or with #pragma once. |
| public static boolean | clang_isFunctionTypeVariadic(CXType T)
Return 1 if the |
| public static boolean | |
| public static boolean | Returns: non-zero if the cursor represents a declaration and it is invalid, otherwiseNULLDetermine whether the given declaration is invalid. |
| public static boolean | |
| public static boolean | clang_isPreprocessing(int kind)
Determine whether the given cursor represents a preprocessing element, such as a preprocessor directive or macro instantiation. |
| public static boolean | |
| public static boolean | clang_isRestrictQualifiedType(CXType T)
Determine whether a |
| public static boolean | |
| public static boolean | clang_isTranslationUnit(int kind)
Determine whether the given cursor kind represents a translation unit. |
| public static boolean | clang_isUnexposed(int kind)
Determine whether the given cursor represents a currently unexposed piece of the AST (e.g., CXCursor_UnexposedStmt). |
| public static boolean | clang_isVirtualBase(CXCursor cursor)
Returns 1 if the base class specified by the cursor with kind |
| public static boolean | clang_isVolatileQualifiedType(CXType T)
Determine whether a |
| public static long | Returns: a loadedCXDiagnosticSet if successful, and NULL otherwise. These diagnostics should be released using disposeDiagnosticSet.the name of the file to deserialize file, IntBuffer a pointer to a enum value recording if there was a problem deserializing the diagnostics error, CXString a pointer to a errorString)CXString for recording the error string if the file was not successfully loadedDeserialize a set of diagnostics from a Clang diagnostics bitcode file. |
| public static long | Returns: a loadedCXDiagnosticSet if successful, and NULL otherwise. These diagnostics should be released using disposeDiagnosticSet.the name of the file to deserialize file, IntBuffer a pointer to a enum value recording if there was a problem deserializing the diagnostics error, CXString a pointer to a errorString)CXString for recording the error string if the file was not successfully loadedDeserialize a set of diagnostics from a Clang diagnostics bitcode file. |
| public static boolean | clang_Location_isFromMainFile(CXSourceLocation location)
Returns non-zero if the given source location is in the main file of the corresponding translation unit. |
| public static boolean | clang_Location_isInSystemHeader(CXSourceLocation location)
Returns non-zero if the given source location is in a system header. |
| public static long | Returns: the module file where the provided module object came froma module object Module)
|
| public static CXString | clang_Module_getFullName(long
a module object Module, CXString the full name of the module, e.g. "std.vector". __result)
|
| public static CXString | clang_Module_getName(long
a module object Module, CXString the name of the module, e.g. for the 'std.vector' sub-module it will return "vector". __result)
|
| public static int | Returns: the number of top level headers associated with this modulea module object Module)
|
| public static long | Returns: the parent of a sub-module orNULL if the given module is top-level, e.g. for 'std.vector' it will return the 'std' module.a module object Module)
|
| public static long | Returns: the specified top level header associated with the modulea module object Module, int top level header index (zero-based) Index)
|
| public static boolean | |
| public static long | clang_parseTranslationUnit(long CIdx, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static long | clang_parseTranslationUnit(long CIdx, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static int | Returns: zero on success, otherwise returns an error codethe index object with which the translation unit will be associated CIdx, ByteBuffer the name of the source file to load, or source_filename, PointerBuffer NULL if the source file is included in command_line_argsthe command-line arguments that would be passed to the command_line_args, CXUnsavedFile.clang executable if it were being invoked out-of-process. These command-line options
will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only'
(which is the default), and '-o <output file>'.the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of
these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this
function returns. unsaved_files,a bitmask of options that affects how the translation unit is managed but not its compilation. This should be a bitwise OR of the
CXTranslationUnit_XXX flags. options, PointerBuffer a non- out_TU)NULL pointer to store the created CXTranslationUnit, describing the parsed code and containing any diagnostics produced by the
compilerParse the given source file and the translation unit corresponding to that file. |
| public static int | Returns: zero on success, otherwise returns an error codethe index object with which the translation unit will be associated CIdx, CharSequence the name of the source file to load, or source_filename, PointerBuffer NULL if the source file is included in command_line_argsthe command-line arguments that would be passed to the command_line_args, CXUnsavedFile.clang executable if it were being invoked out-of-process. These command-line options
will be parsed and will affect how the translation unit is parsed. Note that the following options are ignored: '-c', '-emit-ast', '-fsyntax-only'
(which is the default), and '-o <output file>'.the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of
these files (as specified by CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call to this
function returns. unsaved_files,a bitmask of options that affects how the translation unit is managed but not its compilation. This should be a bitwise OR of the
CXTranslationUnit_XXX flags. options, PointerBuffer a non- out_TU)NULL pointer to store the created CXTranslationUnit, describing the parsed code and containing any diagnostics produced by the
compilerParse the given source file and the translation unit corresponding to that file. |
| public static int | clang_parseTranslationUnit2FullArgv(long CIdx, ByteBuffer source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static int | clang_parseTranslationUnit2FullArgv(long CIdx, CharSequence source_filename, PointerBuffer command_line_args, CXUnsavedFile.
Same as |
| public static void | |
| public static int | clang_PrintingPolicy_getProperty(long Policy, int Property)
Get a property value for the given printing policy. |
| public static void | clang_PrintingPolicy_setProperty(long Policy, int Property, int Value)
Set a property value for the given printing policy. |
| public static boolean | |
| public static void | |
| public static void | clang_remap_getFilenames(long Remapping, int index, CXString
if non- original, CXString NULL, will be set to the original filenameif non- transformed)NULL, will be set to the filename that the original is associated withGet the original and the associated filename from the remapping. |
| public static int | |
| public static int | Returns: 0 if the sources could be reparsed. A non-zero error code will be returned if reparsing was impossible, such that the translation unit is invalid. In such cases, the only valid call forTU is disposeTranslationUnit. The error codes returned by this routine are described by the
CXErrorCode enum.the translation unit whose contents will be re-parsed. The translation unit must originally have been built with TU, CXUnsavedFile.clang_createTranslationUnitFromSourceFile().the files that have not yet been saved to disk but may be required for parsing, including the contents of those files. The contents and name of
these files (as specified by unsaved_files,CXUnsavedFile) are copied when necessary, so the client only needs to guarantee their validity until the call
to this function returns.a bitset of options composed of the flags in options)CXReparse_Flags. The function defaultReparseOptions produces a default set of options
recommended for most uses, based on the translation unit.Reparse the source files that produced this translation unit. |
| public static int | Returns: a value that will match one of the enumerators of theCXSaveError enumeration. Zero (SaveError_None) indicates that the translation unit was
saved successfully, while a non-zero value indicates that a problem occurred.the translation unit to save TU, ByteBuffer the file to which the translation unit will be saved FileName, int a bitmask of options that affects how the translation unit is saved. This should be a bitwise OR of the options)CXSaveTranslationUnit_XXX flags.Saves a translation unit into a serialized representation of that translation unit on disk. |
| public static int | Returns: a value that will match one of the enumerators of theCXSaveError enumeration. Zero (SaveError_None) indicates that the translation unit was
saved successfully, while a non-zero value indicates that a problem occurred.the translation unit to save TU, CharSequence the file to which the translation unit will be saved FileName, int a bitmask of options that affects how the translation unit is saved. This should be a bitwise OR of the options)CXSaveTranslationUnit_XXX flags.Saves a translation unit into a serialized representation of that translation unit on disk. |
| public static void | clang_sortCodeCompletionResults(CXCompletionResult.
the set of results to sort ResultsSort the code-completion results in case-insensitive alphabetical order. |
| public static boolean | clang_suspendTranslationUnit(long TU)
Suspend a translation unit in order to free memory associated with it. |
| public static void | |
| public static int | |
| public static CXString | clang_TargetInfo_getTriple(long Info, CXString __result)
Get the normalized target triple as a string. |
| public static void | clang_toggleCrashRecovery(boolean
flag to indicate if crash recovery is enabled. A non-zero value enables crash recovery, while 0 disables it. isEnabled)Enable/disable crash recovery. |
| public static void | clang_tokenize(long
the translation unit whose text is being tokenized TU, CXSourceRange the source range in which text should be tokenized. All of the tokens produced by tokenization will fall within this source range, Range, PointerBuffer this pointer will be set to point to the array of tokens that occur within the given source range. The returned pointer must be freed with
Tokens, IntBuffer disposeTokens before the translation unit is destroyed.will be set to the number of tokens in the NumTokens)*Tokens arrayTokenize the source code described by the given range into raw lexical tokens. |
| public static long | clang_Type_getAlignOf(CXType T)
Return the alignment of a type in bytes as per |
| public static CXType | |
| public static int | |
| public static CXType | clang_Type_getModifiedType(CXType T, CXType __result)
Return the type that was modified by this attributed type. |
| public static CXType | clang_Type_getNamedType(CXType T, CXType __result)
Retrieve the type named by the qualified-id. If a non-elaborated type is passed in, an invalid type is returned. |
| public static int | |
| public static int | clang_Type_getNumObjCProtocolRefs(CXType T)
Retrieve the number of protocol references associated with an ObjC object/id. If the type is not an ObjC object, 0 is returned. |
| public static int | clang_Type_getNumObjCTypeArgs(CXType T)
Retrieve the number of type arguments associated with an ObjC object. |
| public static int | clang_Type_getNumTemplateArguments(CXType T)
Returns the number of template arguments for given template specialization, or -1 if type |
| public static CXString | clang_Type_getObjCEncoding(CXType type, CXString __result)
Returns the Objective-C type encoding for the specified |
| public static CXType | clang_Type_getObjCObjectBaseType(CXType T, CXType __result)
Retrieves the base type of the |
| public static CXCursor | clang_Type_getObjCProtocolDecl(CXType T, int i, CXCursor __result)
Retrieve the decl for a protocol reference for an ObjC object/id. If the type is not an ObjC object or there are not enough protocol references, an invalid cursor is returned. |
| public static CXType | clang_Type_getObjCTypeArg(CXType T, int i, CXType __result)
Retrieve a type argument associated with an ObjC object. |
| public static long | clang_Type_getOffsetOf(CXType T, ByteBuffer S)
Return the offset of a field named If the cursor is not a record field declaration, |
| public static long | clang_Type_getOffsetOf(CXType T, CharSequence S)
Return the offset of a field named If the cursor is not a record field declaration, |
| public static long | |
| public static CXType | clang_Type_getTemplateArgumentAsType(CXType T, int i, CXType __result)
Returns the type template argument of a template class specialization at given index. |
| public static CXType | |
| public static boolean | Returns: non-zero if transparent and zero otherwiseDetermine if a typedef is 'transparent' tag. |
| public static boolean | Returns: a non-zero value if the traversal was terminated prematurely by the visitor returningVisit_Breakthe record type whose field may be visited T, CXFieldVisitorI the visitor function that will be invoked for each field of visitor, long Tpointer data supplied by the client, which will be passed to the visitor each time it is invoked client_data)Visit the fields of a particular type. |
| public static boolean | Returns: a non-zero value if the traversal was terminated prematurely by the visitor returningChildVisit_Breakthe cursor whose child may be visited. All kinds of cursors can be visited, including invalid cursors (which, by definition, have no children). parent, CXCursorVisitorI the visitor function that will be invoked for each child of visitor, long parentpointer data supplied by the client, which will be passed to the visitor each time it is invoked client_data)Visit the children of a particular cursor. |
| public static SharedLibrary | |
| public static void | nclang_annotateTokens(long TU, long Tokens, int
the number of tokens in NumTokens, long Cursors)TokensUnsafe version of: |
| public static long | nclang_codeCompleteAt(long TU, long complete_filename, int complete_line, int complete_column, long unsaved_files, int
the number of unsaved file entries in num_unsaved_files, int options)unsaved_filesUnsafe version of: |
| public static int | nclang_codeCompleteGetContainerKind(long Results, long IsIncomplete)
Unsafe version of: |
| public static native void | nclang_codeCompleteGetContainerUSR(long Results, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_codeCompleteGetContainerUSR(long Results, long __result)
Unsafe version of: |
| public static long | |
| public static long | nclang_codeCompleteGetDiagnostic(long Results, int Index)
Unsafe version of: |
| public static int | |
| public static native void | nclang_codeCompleteGetObjCSelector(long Results, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_codeCompleteGetObjCSelector(long Results, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCCategory(long class_name, long category_name, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCCategory(long class_name, long category_name, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCClass(long class_name, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCClass(long class_name, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCIvar(long name, long classUSR, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCIvar(long name, long classUSR, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCMethod(long name, int isInstanceMethod, long classUSR, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCMethod(long name, int isInstanceMethod, long classUSR, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCProperty(long property, long classUSR, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCProperty(long property, long classUSR, long __result)
Unsafe version of: |
| public static native void | nclang_constructUSR_ObjCProtocol(long protocol_name, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_constructUSR_ObjCProtocol(long protocol_name, long __result)
Unsafe version of: |
| public static long | |
| public static int | nclang_createTranslationUnit2(long CIdx, long ast_filename, long out_TU)
Unsafe version of: |
| public static long | nclang_createTranslationUnitFromSourceFile(long CIdx, long source_filename, int
the number of command-line arguments in num_clang_command_line_args, long clang_command_line_args, int clang_command_line_argsthe number of unsaved file entries in num_unsaved_files, long unsaved_files)unsaved_filesUnsafe version of: |
| public static native long | |
| public static long | |
| public static native void | nclang_Cursor_getArgument(long C, int i, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Cursor_getBriefCommentText(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getBriefCommentText(long C, long __result)
Unsafe version of: |
| public static native void | nclang_Cursor_getCommentRange(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native long | nclang_Cursor_getCXXManglings(long cursor, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_Cursor_getMangling(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native long | |
| public static long | |
| public static native int | nclang_Cursor_getNumArguments(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_getNumTemplateArguments(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_getObjCDeclQualifiers(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native long | nclang_Cursor_getObjCManglings(long cursor, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native int | nclang_Cursor_getObjCPropertyAttributes(long C, int reserved, long __functionAddress)
Unsafe version of: |
| public static int | nclang_Cursor_getObjCPropertyAttributes(long C, int reserved)
Unsafe version of: |
| public static native void | nclang_Cursor_getObjCPropertyGetterName(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getObjCPropertyGetterName(long C, long __result)
Unsafe version of: |
| public static native void | nclang_Cursor_getObjCPropertySetterName(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getObjCPropertySetterName(long C, long __result)
Unsafe version of: |
| public static native int | nclang_Cursor_getObjCSelectorIndex(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native long | nclang_Cursor_getOffsetOfField(long C, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_Cursor_getRawCommentText(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Cursor_getReceiverType(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Cursor_getSpellingNameRange(long cursor, int pieceIndex, int options, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getSpellingNameRange(long cursor, int pieceIndex, int options, long __result)
Unsafe version of: |
| public static native int | nclang_Cursor_getStorageClass(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_getTemplateArgumentKind(long C, int I, long __functionAddress)
Unsafe version of: |
| public static int | nclang_Cursor_getTemplateArgumentKind(long C, int I)
Unsafe version of: |
| public static native void | nclang_Cursor_getTemplateArgumentType(long C, int I, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getTemplateArgumentType(long C, int I, long __result)
Unsafe version of: |
| public static native long | nclang_Cursor_getTemplateArgumentUnsignedValue(long C, int I, long __functionAddress)
Unsafe version of: |
| public static long | nclang_Cursor_getTemplateArgumentUnsignedValue(long C, int I)
Unsafe version of: |
| public static native long | nclang_Cursor_getTemplateArgumentValue(long C, int I, long __functionAddress)
Unsafe version of: |
| public static long | nclang_Cursor_getTemplateArgumentValue(long C, int I)
Unsafe version of: |
| public static native long | nclang_Cursor_getTranslationUnit(long cursor, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_Cursor_getVarDeclInitializer(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Cursor_getVarDeclInitializer(long cursor, long __result)
Unsafe version of: |
| public static native int | |
| public static int | |
| public static native int | nclang_Cursor_hasVarDeclExternalStorage(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | nclang_Cursor_hasVarDeclExternalStorage(long cursor)
Unsafe version of: |
| public static native int | nclang_Cursor_hasVarDeclGlobalStorage(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_Cursor_isAnonymousRecordDecl(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_Cursor_isExternalSymbol(long C, long language, long definedIn, long isGenerated, long __functionAddress)
Unsafe version of: |
| public static int | nclang_Cursor_isExternalSymbol(long C, long language, long definedIn, long isGenerated)
Unsafe version of: |
| public static native int | nclang_Cursor_isFunctionInlined(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_isInlineNamespace(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_isMacroBuiltin(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Cursor_isMacroFunctionLike(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_Cursor_isObjCOptional(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_CXCursorSet_contains(long cset, long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_CXCursorSet_insert(long cset, long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static void | nclang_CXIndex_setInvocationEmissionPathOption(long index, long Path)
Unsafe version of: |
| public static native int | nclang_CXXConstructor_isConvertingConstructor(long C, long __functionAddress)
Unsafe version of: |
| public static int | nclang_CXXConstructor_isConvertingConstructor(long C)
Unsafe version of: |
| public static native int | nclang_CXXConstructor_isCopyConstructor(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_CXXConstructor_isDefaultConstructor(long C, long __functionAddress)
Unsafe version of: |
| public static int | nclang_CXXConstructor_isDefaultConstructor(long C)
Unsafe version of: |
| public static native int | nclang_CXXConstructor_isMoveConstructor(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_CXXMethod_isCopyAssignmentOperator(long C, long __functionAddress)
Unsafe version of: |
| public static int | nclang_CXXMethod_isCopyAssignmentOperator(long C)
Unsafe version of: |
| public static native int | nclang_CXXMethod_isDefaulted(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_CXXMethod_isMoveAssignmentOperator(long C, long __functionAddress)
Unsafe version of: |
| public static int | nclang_CXXMethod_isMoveAssignmentOperator(long C)
Unsafe version of: |
| public static native int | nclang_CXXMethod_isPureVirtual(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static void | |
| public static void | nclang_disposeCXPlatformAvailability(long availability)
Unsafe version of: |
| public static native void | |
| public static void | |
| public static void | |
| public static void | |
| public static native void | |
| public static void | |
| public static void | |
| public static void | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_equalLocations(long loc1, long loc2, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static long | |
| public static void | |
| public static native void | nclang_File_tryGetRealPathName(long file, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_findIncludesInFile(long TU, long file, long visitor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_findReferencesInFile(long cursor, long file, long visitor, long __functionAddress)
Unsafe version of: |
| public static int | nclang_findReferencesInFile(long cursor, long file, long visitor)
Unsafe version of: |
| public static native void | nclang_formatDiagnostic(long Diagnostic, int Options, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_formatDiagnostic(long Diagnostic, int Options, long __result)
Unsafe version of: |
| public static native int | |
| public static int | |
| public static long | |
| public static native void | nclang_getArgType(long T, int i, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getArrayElementType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native long | |
| public static long | |
| public static native void | nclang_getCanonicalCursor(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getCanonicalType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | |
| public static void | |
| public static native void | nclang_getCompletionAnnotation(long completion_string, int annotation_number, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCompletionAnnotation(long completion_string, int annotation_number, long __result)
Unsafe version of: |
| public static native void | nclang_getCompletionBriefComment(long completion_string, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCompletionBriefComment(long completion_string, long __result)
Unsafe version of: |
| public static native void | nclang_getCompletionChunkText(long completion_string, int chunk_number, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCompletionChunkText(long completion_string, int chunk_number, long __result)
Unsafe version of: |
| public static native void | nclang_getCompletionFixIt(long results, int completion_index, int fixit_index, long replacement_range, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCompletionFixIt(long results, int completion_index, int fixit_index, long replacement_range, long __result)
Unsafe version of: |
| public static int | nclang_getCompletionNumFixIts(long results, int completion_index)
Unsafe version of: |
| public static native void | nclang_getCompletionParent(long completion_string, long kind, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCompletionParent(long completion_string, long kind, long __result)
Unsafe version of: |
| public static native long | |
| public static long | |
| public static native void | nclang_getCursor(long TU, long location, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getCursorAvailability(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native long | nclang_getCursorCompletionString(long cursor, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_getCursorDefinition(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getCursorDisplayName(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getCursorExceptionSpecificationType(long C, long __functionAddress)
Unsafe version of: |
| public static int | nclang_getCursorExceptionSpecificationType(long C)
Unsafe version of: |
| public static native void | nclang_getCursorExtent(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static native void | |
| public static void | |
| public static native int | |
| public static int | |
| public static native void | nclang_getCursorLexicalParent(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static native void | nclang_getCursorLocation(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getCursorPlatformAvailability(long cursor, long always_deprecated, long deprecated_message, long always_unavailable, long unavailable_message, long availability, int
the number of elements available in the availability_size, long __functionAddress)availability arrayUnsafe version of: |
| public static int | nclang_getCursorPlatformAvailability(long cursor, long always_deprecated, long deprecated_message, long always_unavailable, long unavailable_message, long availability, int
the number of elements available in the availability_size)availability arrayUnsafe version of: |
| public static native void | nclang_getCursorPrettyPrinted(long Cursor, long Policy, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCursorPrettyPrinted(long Cursor, long Policy, long __result)
Unsafe version of: |
| public static native long | nclang_getCursorPrintingPolicy(long cursor, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_getCursorReferenced(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getCursorReferenceNameRange(long C, int NameFlags, int PieceIndex, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCursorReferenceNameRange(long C, int NameFlags, int PieceIndex, long __result)
Unsafe version of: |
| public static native void | nclang_getCursorResultType(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getCursorSemanticParent(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getCursorSemanticParent(long cursor, long __result)
Unsafe version of: |
| public static native void | nclang_getCursorSpelling(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static native void | |
| public static void | |
| public static native void | nclang_getCursorUSR(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getCursorVisibility(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_getCXTUResourceUsage(long TU, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getCXXAccessSpecifier(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_getDeclObjCTypeEncoding(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getDefinitionSpellingAndExtent(long cursor, long startBuf, long endBuf, long startLine, long startColumn, long endLine, long endColumn, long __functionAddress)
|
| public static void | nclang_getDefinitionSpellingAndExtent(long cursor, long startBuf, long endBuf, long startLine, long startColumn, long endLine, long endColumn)
|
| public static native void | nclang_getDiagnosticCategoryText(long Diagnostic, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticCategoryText(long Diagnostic, long __result)
Unsafe version of: |
| public static native void | nclang_getDiagnosticFixIt(long Diagnostic, int FixIt, long ReplacementRange, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticFixIt(long Diagnostic, int FixIt, long ReplacementRange, long __result)
Unsafe version of: |
| public static native void | nclang_getDiagnosticLocation(long Diagnostic, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticLocation(long Diagnostic, long __result)
Unsafe version of: |
| public static native void | nclang_getDiagnosticOption(long Diag, long Disable, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticOption(long Diag, long Disable, long __result)
Unsafe version of: |
| public static native void | nclang_getDiagnosticRange(long Diagnostic, int Range, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticRange(long Diagnostic, int Range, long __result)
Unsafe version of: |
| public static native void | nclang_getDiagnosticSpelling(long Diagnostic, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getDiagnosticSpelling(long Diagnostic, long __result)
Unsafe version of: |
| public static native void | nclang_getElementType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native long | nclang_getEnumConstantDeclUnsignedValue(long C, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native long | nclang_getEnumConstantDeclValue(long C, long __functionAddress)
Unsafe version of: |
| public static long | |
| public static native void | nclang_getEnumDeclIntegerType(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_getExceptionSpecificationType(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_getExpansionLocation(long location, long file, long line, long column, long offset, long __functionAddress)
Unsafe version of: |
| public static void | nclang_getExpansionLocation(long location, long file, long line, long column, long offset)
Unsafe version of: |
| public static native int | |
| public static int | |
| public static long | |
| public static long | nclang_getFileContents(long tu, long file, long
[out] if non- size)NULL, will be set to the size of the bufferUnsafe version of: |
| public static native void | nclang_getFileLocation(long location, long file, long line, long column, long offset, long __functionAddress)
Unsafe version of: |
| public static void | nclang_getFileLocation(long location, long file, long line, long column, long offset)
Unsafe version of: |
| public static native void | |
| public static void | |
| public static int | |
| public static native int | nclang_getFunctionTypeCallingConv(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_getIBOutletCollectionType(long cursor, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getIBOutletCollectionType(long cursor, long __result)
Unsafe version of: |
| public static native long | |
| public static long | |
| public static void | |
| public static native void | nclang_getLocation(long tu, long file, int line, int column, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getLocation(long tu, long file, int line, int column, long __result)
Unsafe version of: |
| public static native void | nclang_getLocationForOffset(long tu, long file, int offset, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getLocationForOffset(long tu, long file, int offset, long __result)
Unsafe version of: |
| public static native void | nclang_getNonReferenceType(long CT, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | |
| public static void | |
| public static native void | |
| public static void | |
| public static native void | |
| public static void | |
| public static native int | |
| public static int | |
| public static native long | |
| public static long | |
| public static native int | nclang_getNumOverloadedDecls(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_getOverloadedDecl(long cursor, int index, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getOverriddenCursors(long cursor, long overridden, long num_overridden, long __functionAddress)
Unsafe version of: |
| public static void | nclang_getOverriddenCursors(long cursor, long overridden, long num_overridden)
Unsafe version of: |
| public static native void | nclang_getPointeeType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getPresumedLocation(long location, long filename, long line, long column, long __functionAddress)
Unsafe version of: |
| public static void | nclang_getPresumedLocation(long location, long filename, long line, long column)
Unsafe version of: |
| public static native void | nclang_getRange(long begin, long end, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | |
| public static void | |
| public static native void | nclang_getRangeStart(long range, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static long | |
| public static long | nclang_getRemappingsFromFileList(long filePaths, int
number of file paths numFiles)Unsafe version of: |
| public static native void | |
| public static void | |
| public static long | |
| public static native void | nclang_getSpecializedCursorTemplate(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getSpecializedCursorTemplate(long C, long __result)
Unsafe version of: |
| public static native void | nclang_getSpellingLocation(long location, long file, long line, long column, long offset, long __functionAddress)
Unsafe version of: |
| public static void | nclang_getSpellingLocation(long location, long file, long line, long column, long offset)
Unsafe version of: |
| public static native int | nclang_getTemplateCursorKind(long C, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native long | |
| public static long | |
| public static native void | nclang_getTokenExtent(long TU, long token, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static native void | nclang_getTokenLocation(long TU, long token, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTokenSpelling(long TU, long token, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTranslationUnitCursor(long TU, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTranslationUnitSpelling(long CTUnit, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getTranslationUnitSpelling(long CTUnit, long __result)
Unsafe version of: |
| public static long | |
| public static native void | nclang_getTypeDeclaration(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTypedefDeclUnderlyingType(long C, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_getTypedefDeclUnderlyingType(long C, long __result)
Unsafe version of: |
| public static native void | nclang_getTypedefName(long CT, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTypeKindSpelling(int K, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getTypeSpelling(long CT, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_getUnqualifiedType(long CT, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static void | nclang_index_setClientContainer(long info, long container)
Unsafe version of: |
| public static void | |
| public static native void | nclang_indexLoc_getCXSourceLocation(long loc, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_indexLoc_getCXSourceLocation(long loc, long __result)
Unsafe version of: |
| public static native void | nclang_indexLoc_getFileLocation(long loc, long indexFile, long file, long line, long column, long offset, long __functionAddress)
Unsafe version of: |
| public static void | nclang_indexLoc_getFileLocation(long loc, long indexFile, long file, long line, long column, long offset)
Unsafe version of: |
| public static int | nclang_indexSourceFile(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, long out_TU, int TU_options)
Unsafe version of: |
| public static int | nclang_indexSourceFileFullArgv(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, long out_TU, int TU_options)
Unsafe version of: |
| public static int | nclang_indexTranslationUnit(long action, long client_data, long index_callbacks, int index_callbacks_size, int index_options, long TU)
Unsafe version of: |
| public static native int | |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_isFunctionTypeVariadic(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_isInvalidDeclaration(long cursor, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_isRestrictQualifiedType(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | |
| public static int | |
| public static native int | nclang_isVolatileQualifiedType(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static long | |
| public static native int | nclang_Location_isFromMainFile(long location, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Location_isInSystemHeader(long location, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_Module_getFullName(long Module, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Module_getName(long Module, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static long | nclang_parseTranslationUnit(long CIdx, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, int options)
Unsafe version of: |
| public static int | nclang_parseTranslationUnit2(long CIdx, long source_filename, long command_line_args, int
the number of command-line arguments in num_command_line_args, long unsaved_files, int command_line_argsthe number of unsaved file entries in num_unsaved_files, int options, long out_TU)unsaved_filesUnsafe version of: |
| public static int | nclang_parseTranslationUnit2FullArgv(long CIdx, long source_filename, long command_line_args, int num_command_line_args, long unsaved_files, int num_unsaved_files, int options, long out_TU)
Unsafe version of: |
| public static native int | |
| public static int | |
| public static void | nclang_remap_getFilenames(long Remapping, int index, long original, long transformed)
Unsafe version of: |
| public static int | nclang_reparseTranslationUnit(long TU, int
the number of unsaved file entries in num_unsaved_files, long unsaved_files, int options)unsaved_filesUnsafe version of: |
| public static int | nclang_saveTranslationUnit(long TU, long FileName, int options)
Unsafe version of: |
| public static void | nclang_sortCodeCompletionResults(long Results, int
the number of results in NumResults)ResultsUnsafe version of: |
| public static native void | nclang_TargetInfo_getTriple(long Info, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_tokenize(long TU, long Range, long Tokens, long NumTokens, long __functionAddress)
Unsafe version of: |
| public static void | |
| public static native long | |
| public static long | |
| public static native void | nclang_Type_getClassType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_Type_getCXXRefQualifier(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_Type_getModifiedType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Type_getNamedType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | |
| public static int | |
| public static native int | nclang_Type_getNumObjCProtocolRefs(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Type_getNumObjCTypeArgs(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Type_getNumTemplateArguments(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native void | nclang_Type_getObjCEncoding(long type, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native void | nclang_Type_getObjCObjectBaseType(long T, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Type_getObjCObjectBaseType(long T, long __result)
Unsafe version of: |
| public static native void | nclang_Type_getObjCProtocolDecl(long T, int i, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Type_getObjCProtocolDecl(long T, int i, long __result)
Unsafe version of: |
| public static native void | nclang_Type_getObjCTypeArg(long T, int i, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native long | |
| public static long | |
| public static native long | |
| public static long | |
| public static native void | nclang_Type_getTemplateArgumentAsType(long T, int i, long __functionAddress, long __result)
Unsafe version of: |
| public static void | nclang_Type_getTemplateArgumentAsType(long T, int i, long __result)
Unsafe version of: |
| public static native void | nclang_Type_getValueType(long CT, long __functionAddress, long __result)
Unsafe version of: |
| public static void | |
| public static native int | nclang_Type_isTransparentTagTypedef(long T, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_Type_visitFields(long T, long visitor, long client_data, long __functionAddress)
Unsafe version of: |
| public static int | |
| public static native int | nclang_visitChildren(long parent, long visitor, long client_data, long __functionAddress)
Unsafe version of: |
| public static int |