All Downloads are FREE. Search and download functionalities are using the official Maven repository.

astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_EnumDecl_cxx_0x17f4603c.cc Maven / Gradle / Ivy

The newest version!
#include 
#include 
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/SourceManager.h"
#include "clang/AST/DeclBase.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
    return (jint)sizeof(clang::EnumDecl);
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeDecls_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::DeclContext::decl_iterator(reinterpret_cast(ptr)->decls_begin()));
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeDecls_1empty(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->decls_empty()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeDecls_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::DeclContext::decl_iterator(reinterpret_cast(ptr)->decls_end()));
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeDump0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Out0 */, jboolean arg1 /* Deserialize1 */, jint arg2 /* OutputFormat2 */) {
	reinterpret_cast(ptr)->dump(*reinterpret_cast(arg0), (arg1 == JNI_TRUE ? true : false), static_cast(arg2));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeEnumerator_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::EnumDecl::enumerator_iterator(reinterpret_cast(ptr)->enumerator_begin()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeEnumerator_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::EnumDecl::enumerator_iterator(reinterpret_cast(ptr)->enumerator_end()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetASTContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getASTContext()));
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetAccess(JNIEnv*, jclass, jlong ptr) {
	return (jint)(reinterpret_cast(ptr)->getAccess());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetAttrs(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getAttrs()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetBeginLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getBeginLoc()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetBraceRange(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceRange(reinterpret_cast(ptr)->getBraceRange()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetCanonicalDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getCanonicalDecl());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetDeclContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getDeclContext());
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetDeclKind(JNIEnv*, jclass, jlong ptr) {
	return (jint)(reinterpret_cast(ptr)->getDeclKind());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetDeclName(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::DeclarationName(reinterpret_cast(ptr)->getDeclName()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetDefinition(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getDefinition());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetEndLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getEndLoc()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetExternCContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getExternCContext());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetIdentifier(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getIdentifier());
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetKind(JNIEnv*, jclass, jlong ptr) {
	return (jint)(reinterpret_cast(ptr)->getKind());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetLexicalParent(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getLexicalParent());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetLocation(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getLocation()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetLookupParent(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getLookupParent());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetMostRecentDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getMostRecentDecl());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetName(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) llvm::StringRef(reinterpret_cast(ptr)->getName()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetNameAsString(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) std::string(reinterpret_cast(ptr)->getNameAsString()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetNextDeclInContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getNextDeclInContext());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetParent(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getParent());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetParentASTContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getParentASTContext()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetPreviousDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getPreviousDecl());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetPrimaryContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getPrimaryContext());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetQualifiedNameAsString(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) std::string(reinterpret_cast(ptr)->getQualifiedNameAsString()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetQualifier(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getQualifier());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetRedeclContext(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getRedeclContext());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetSourceRange(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceRange(reinterpret_cast(ptr)->getSourceRange()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetTranslationUnitDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getTranslationUnitDecl());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeGetTypeForDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getTypeForDecl());
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeHasAttrs(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->hasAttrs()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsBeingDefined(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isBeingDefined()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsCXXClassMember(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isCXXClassMember()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsCXXInstanceMember(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isCXXInstanceMember()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsClass(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isClass()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsClosure(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isClosure()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsCompleteDefinition(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isCompleteDefinition()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsDependentContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isDependentContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsDependentType(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isDependentType()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsEnum(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isEnum()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsExplicitlyDeclaredInMainFile(JNIEnv*, jclass, jlong ptr) {
	return (!reinterpret_cast(ptr)->isImplicit() && reinterpret_cast(ptr)->getASTContext().getSourceManager().isInMainFile(reinterpret_cast(ptr)->getLocation())) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsExternCContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isExternCContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsExternCXXContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isExternCXXContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsFileContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isFileContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsFirstDecl(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isFirstDecl()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsFunctionOrMethod(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isFunctionOrMethod()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsImplicit(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isImplicit()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsInAnonymousNamespace(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isInAnonymousNamespace()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsInStdNamespace(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isInStdNamespace()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsInlineNamespace(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isInlineNamespace()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsInterface(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isInterface()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsLookupContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isLookupContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsNamespace(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isNamespace()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsObjCContainer(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isObjCContainer()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsRecord(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isRecord()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsStdNamespace(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isStdNamespace()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsStruct(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isStruct()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsThisDeclarationADefinition(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isThisDeclarationADefinition()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsTranslationUnit(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isTranslationUnit()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsTransparentContext(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isTransparentContext()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_EnumDecl_1cxx_10x17f4603c_nativeIsUnion(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isUnion()) ? JNI_TRUE : JNI_FALSE;
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy