| Modifier and Type | Class and Description |
|---|---|
| public static class | ClangRewrite.
Contains the function pointers loaded from the CLANG |
| Modifier and Type | Field and Description |
|---|---|
| private static final SharedLibrary |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | |
| public static void | |
| public static void | clang_CXRewriter_insertTextBefore(long Rew, CXSourceLocation Loc, ByteBuffer Insert)
Insert the specified string at the specified location in the original buffer. |
| public static void | clang_CXRewriter_insertTextBefore(long Rew, CXSourceLocation Loc, CharSequence Insert)
Insert the specified string at the specified location in the original buffer. |
| public static boolean | Returns: 1 if any files were not saved successfully, returns 0 otherwiseSave all changed files to disk. |
| public static void | |
| public static void | clang_CXRewriter_replaceText(long Rew, CXSourceRange ToBeReplaced, ByteBuffer Replacement)
Replace the specified range of characters in the input with the specified replacement. |
| public static void | clang_CXRewriter_replaceText(long Rew, CXSourceRange ToBeReplaced, CharSequence Replacement)
Replace the specified range of characters in the input with the specified replacement. |
| public static void | clang_CXRewriter_writeMainFileToStdOut(long Rew)
Write out rewritten version of the main file to |
| public static SharedLibrary | |
| public static native void | nclang_CXRewriter_insertTextBefore(long Rew, long Loc, long Insert, long __functionAddress)
Unsafe version of: |
| public static void | nclang_CXRewriter_insertTextBefore(long Rew, long Loc, long Insert)
Unsafe version of: |
| public static native void | nclang_CXRewriter_removeText(long Rew, long ToBeRemoved, long __functionAddress)
Unsafe version of: |
| public static void | |
| public static native void | nclang_CXRewriter_replaceText(long Rew, long ToBeReplaced, long Replacement, long __functionAddress)
Unsafe version of: |
| public static void | nclang_CXRewriter_replaceText(long Rew, long ToBeReplaced, long Replacement)
Unsafe version of: |
| CLANG | back to summary |
|---|---|
| private static final SharedLibrary CLANG | |
| ClangRewrite | back to summary |
|---|---|
| protected ClangRewrite() | |
| clang_CXRewriter_create | back to summary |
|---|---|
| public static long clang_CXRewriter_create(long TU) Create
| |
| clang_CXRewriter_dispose | back to summary |
|---|---|
| public static void clang_CXRewriter_dispose(long Rew) Free the given | |
| clang_CXRewriter_insertTextBefore | back to summary |
|---|---|
| public static void clang_CXRewriter_insertTextBefore(long Rew, CXSourceLocation Loc, ByteBuffer Insert) Insert the specified string at the specified location in the original buffer. | |
| clang_CXRewriter_insertTextBefore | back to summary |
|---|---|
| public static void clang_CXRewriter_insertTextBefore(long Rew, CXSourceLocation Loc, CharSequence Insert) Insert the specified string at the specified location in the original buffer. | |
| clang_CXRewriter_overwriteChangedFiles | back to summary |
|---|---|
| public static boolean clang_CXRewriter_overwriteChangedFiles(long Rew) Save all changed files to disk.
| |
| clang_CXRewriter_removeText | back to summary |
|---|---|
| public static void clang_CXRewriter_removeText(long Rew, CXSourceRange ToBeRemoved) Remove the specified range. | |
| clang_CXRewriter_replaceText | back to summary |
|---|---|
| public static void clang_CXRewriter_replaceText(long Rew, CXSourceRange ToBeReplaced, ByteBuffer Replacement) Replace the specified range of characters in the input with the specified replacement. | |
| clang_CXRewriter_replaceText | back to summary |
|---|---|
| public static void clang_CXRewriter_replaceText(long Rew, CXSourceRange ToBeReplaced, CharSequence Replacement) Replace the specified range of characters in the input with the specified replacement. | |
| clang_CXRewriter_writeMainFileToStdOut | back to summary |
|---|---|
| public static void clang_CXRewriter_writeMainFileToStdOut(long Rew) Write out rewritten version of the main file to | |
| getLibrary | back to summary |
|---|---|
| public static SharedLibrary getLibrary() Returns the CLANG | |
| nclang_CXRewriter_insertTextBefore | back to summary |
|---|---|
| public static native void nclang_CXRewriter_insertTextBefore(long Rew, long Loc, long Insert, long __functionAddress) Unsafe version of: | |
| nclang_CXRewriter_insertTextBefore | back to summary |
|---|---|
| public static void nclang_CXRewriter_insertTextBefore(long Rew, long Loc, long Insert) Unsafe version of: | |
| nclang_CXRewriter_removeText | back to summary |
|---|---|
| public static native void nclang_CXRewriter_removeText(long Rew, long ToBeRemoved, long __functionAddress) Unsafe version of: | |
| nclang_CXRewriter_removeText | back to summary |
|---|---|
| public static void nclang_CXRewriter_removeText(long Rew, long ToBeRemoved) Unsafe version of: | |
| nclang_CXRewriter_replaceText | back to summary |
|---|---|
| public static native void nclang_CXRewriter_replaceText(long Rew, long ToBeReplaced, long Replacement, long __functionAddress) Unsafe version of: | |
| nclang_CXRewriter_replaceText | back to summary |
|---|---|
| public static void nclang_CXRewriter_replaceText(long Rew, long ToBeReplaced, long Replacement) Unsafe version of: | |
SharedLibrary.
| Modifier and Type | Field and Description |
|---|---|
| public static final long | create
Function address. |
| public static final long | dispose
Function address. |
| public static final long | insertTextBefore
Function address. |
| public static final long | overwriteChangedFiles
Function address. |
| public static final long | removeText
Function address. |
| public static final long | replaceText
Function address. |
| public static final long | writeMainFileToStdOut
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| create | back to summary |
|---|---|
| public static final long create Function address. | |
| dispose | back to summary |
|---|---|
| public static final long dispose Function address. | |
| insertTextBefore | back to summary |
|---|---|
| public static final long insertTextBefore Function address. | |
| overwriteChangedFiles | back to summary |
|---|---|
| public static final long overwriteChangedFiles Function address. | |
| removeText | back to summary |
|---|---|
| public static final long removeText Function address. | |
| replaceText | back to summary |
|---|---|
| public static final long replaceText Function address. | |
| writeMainFileToStdOut | back to summary |
|---|---|
| public static final long writeMainFileToStdOut Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |