Home
last modified time | relevance | path

Searched refs:AccessSpecifier (Results 1 – 25 of 188) sorted by relevance

12345678

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_ModifierSet.txt16 Line 61) AccessSpecifier.PUBLIC ==> com.github.javaparser.ast.AccessSpecifier
18 Line 63) AccessSpecifier.PROTECTED ==> com.github.javaparser.ast.AccessSpecifier
20 Line 65) AccessSpecifier.PRIVATE ==> com.github.javaparser.ast.AccessSpecifier
21 Line 67) AccessSpecifier.DEFAULT ==> com.github.javaparser.ast.AccessSpecifier
/external/clang/bindings/python/tests/cindex/
Dtest_access_specifiers.py2 from clang.cindex import AccessSpecifier
24 assert test_class.access_specifier == AccessSpecifier.INVALID;
27 assert public.access_specifier == AccessSpecifier.PUBLIC
30 assert protected.access_specifier == AccessSpecifier.PROTECTED
33 assert private.access_specifier == AccessSpecifier.PRIVATE
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DModifier.java35 public static AccessSpecifier getAccessSpecifier(EnumSet<Modifier> modifiers) { in getAccessSpecifier()
37 return AccessSpecifier.PUBLIC; in getAccessSpecifier()
39 return AccessSpecifier.PROTECTED; in getAccessSpecifier()
41 return AccessSpecifier.PRIVATE; in getAccessSpecifier()
43 return AccessSpecifier.DEFAULT; in getAccessSpecifier()
DAccessSpecifier.java31 public enum AccessSpecifier { enum
40 AccessSpecifier(String codeRepresentation) { in AccessSpecifier() method in AccessSpecifier
/external/llvm-project/clang/include/clang/AST/
DDeclAccessPair.h35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
44 AccessSpecifier getAccess() const { in getAccess()
45 return AccessSpecifier(Mask & Ptr); in getAccess()
51 void setAccess(AccessSpecifier AS) { in setAccess()
54 void set(NamedDecl *D, AccessSpecifier AS) { in set()
DUnresolvedSet.h52 AccessSpecifier getAccess() const { return I->getAccess(); } in getAccess()
53 void setAccess(AccessSpecifier AS) { I->setAccess(AS); } in setAccess()
95 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl()
113 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { in replace()
121 void setAccess(iterator I, AccessSpecifier AS) { I.I->setAccess(AS); } in setAccess()
DASTUnresolvedSet.h55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl()
62 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { in replace()
107 void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) { in addLazyDecl()
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_access_specifiers.py6 from clang.cindex import AccessSpecifier
32 self.assertEqual(test_class.access_specifier, AccessSpecifier.INVALID)
35 self.assertEqual(public.access_specifier, AccessSpecifier.PUBLIC)
38 self.assertEqual(protected.access_specifier, AccessSpecifier.PROTECTED)
41 self.assertEqual(private.access_specifier, AccessSpecifier.PRIVATE)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DModifierSet.java24 import com.github.javaparser.ast.AccessSpecifier;
59 public static AccessSpecifier getAccessSpecifier(int modifiers) { in getAccessSpecifier()
61 return AccessSpecifier.PUBLIC; in getAccessSpecifier()
63 return AccessSpecifier.PROTECTED; in getAccessSpecifier()
65 return AccessSpecifier.PRIVATE; in getAccessSpecifier()
67 return AccessSpecifier.DEFAULT; in getAccessSpecifier()
/external/clang/include/clang/AST/
DDeclAccessPair.h36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make()
45 AccessSpecifier getAccess() const { in getAccess()
46 return AccessSpecifier(Mask & Ptr); in getAccess()
52 void setAccess(AccessSpecifier AS) { in setAccess()
55 void set(NamedDecl *D, AccessSpecifier AS) { in set()
DUnresolvedSet.h46 AccessSpecifier getAccess() const { return I->getAccess(); } in getAccess()
47 void setAccess(AccessSpecifier AS) { I->setAccess(AS); } in setAccess()
86 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl()
104 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { in replace()
112 void setAccess(iterator I, AccessSpecifier AS) { I.I->setAccess(AS); } in setAccess()
DASTUnresolvedSet.h50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl()
57 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { in replace()
101 void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) { in addLazyDecl()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistFactory.java17 import com.github.javaparser.ast.AccessSpecifier;
73 static AccessSpecifier modifiersToAccessLevel(final int modifiers) { in modifiersToAccessLevel()
75 return AccessSpecifier.PUBLIC; in modifiersToAccessLevel()
77 return AccessSpecifier.PROTECTED; in modifiersToAccessLevel()
79 return AccessSpecifier.PRIVATE; in modifiersToAccessLevel()
81 return AccessSpecifier.PACKAGE_PRIVATE; in modifiersToAccessLevel()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithModifiers.java24 import com.github.javaparser.ast.AccessSpecifier;
105 default AccessSpecifier getAccessSpecifier() { in getAccessSpecifier()
109 return AccessSpecifier.PUBLIC; in getAccessSpecifier()
111 return AccessSpecifier.PROTECTED; in getAccessSpecifier()
113 return AccessSpecifier.PRIVATE; in getAccessSpecifier()
116 return AccessSpecifier.PACKAGE_PRIVATE; in getAccessSpecifier()
/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp106 F.Access = AccessSpecifier::AS_none; in TEST()
157 EConstructor.Access = AccessSpecifier::AS_public; in TEST()
173 Method.Access = AccessSpecifier::AS_protected; in TEST()
196 TemplateMethod.Access = AccessSpecifier::AS_public; in TEST()
216 SpecializedTemplateMethod.Access = AccessSpecifier::AS_public; in TEST()
283 ExpectedE.Members.emplace_back("int", "I", AccessSpecifier::AS_public); in TEST()
327 F.Access = AccessSpecifier::AS_none; in TEST()
343 F.Access = AccessSpecifier::AS_none; in TEST()
373 ExpectedG.Members.emplace_back("int", "I", AccessSpecifier::AS_protected); in TEST()
386 AccessSpecifier::AS_public, true); in TEST()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h98 enum AccessSpecifier { enum
361 inline llvm::StringRef getAccessSpelling(AccessSpecifier AS) { in getAccessSpelling()
363 case AccessSpecifier::AS_public: in getAccessSpelling()
365 case AccessSpecifier::AS_protected: in getAccessSpelling()
367 case AccessSpecifier::AS_private: in getAccessSpelling()
369 case AccessSpecifier::AS_none: in getAccessSpelling()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionFactory.java19 import com.github.javaparser.ast.AccessSpecifier;
110 static AccessSpecifier modifiersToAccessLevel(final int modifiers) { in modifiersToAccessLevel()
112 return AccessSpecifier.PUBLIC; in modifiersToAccessLevel()
114 return AccessSpecifier.PROTECTED; in modifiersToAccessLevel()
116 return AccessSpecifier.PRIVATE; in modifiersToAccessLevel()
118 return AccessSpecifier.PACKAGE_PRIVATE; in modifiersToAccessLevel()
/external/llvm-project/clang-tools-extra/clang-doc/
DSerialize.cpp223 static bool isPublic(const clang::AccessSpecifier AS, in isPublic()
225 if (AS == clang::AccessSpecifier::AS_private) in isPublic()
258 static AccessSpecifier getFinalAccessSpecifier(AccessSpecifier FirstAS, in getFinalAccessSpecifier()
259 AccessSpecifier SecondAS) { in getFinalAccessSpecifier()
260 if (FirstAS == AccessSpecifier::AS_none || in getFinalAccessSpecifier()
261 SecondAS == AccessSpecifier::AS_none) in getFinalAccessSpecifier()
262 return AccessSpecifier::AS_none; in getFinalAccessSpecifier()
263 if (FirstAS == AccessSpecifier::AS_private || in getFinalAccessSpecifier()
264 SecondAS == AccessSpecifier::AS_private) in getFinalAccessSpecifier()
265 return AccessSpecifier::AS_private; in getFinalAccessSpecifier()
[all …]
DYAMLGenerator.cpp33 template <> struct ScalarEnumerationTraits<clang::AccessSpecifier> {
34 static void enumeration(IO &IO, clang::AccessSpecifier &Value) { in enumeration()
35 IO.enumCase(Value, "Public", clang::AccessSpecifier::AS_public); in enumeration()
36 IO.enumCase(Value, "Protected", clang::AccessSpecifier::AS_protected); in enumeration()
37 IO.enumCase(Value, "Private", clang::AccessSpecifier::AS_private); in enumeration()
38 IO.enumCase(Value, "None", clang::AccessSpecifier::AS_none); in enumeration()
194 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
220 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
243 IO.mapOptional("Access", I.Access, clang::AccessSpecifier::AS_none); in mapping()
DRepresentation.h194 llvm::StringRef Name, AccessSpecifier Access) in MemberTypeInfo()
197 AccessSpecifier Access) in MemberTypeInfo()
200 AccessSpecifier Access) in MemberTypeInfo()
212 AccessSpecifier Access = AccessSpecifier::AS_public;
333 AccessSpecifier Access = AccessSpecifier::AS_public;
376 AccessSpecifier Access, bool IsParent) in BaseRecordInfo()
384 AccessSpecifier Access = AccessSpecifier::AS_public;
/external/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/
Ds_constant.s389 # AccessSpecifier: Public (0x3)
395 # AccessSpecifier: Public (0x3)
401 # AccessSpecifier: Public (0x3)
495 # AccessSpecifier: Public (0x3)
501 # AccessSpecifier: Public (0x3)
507 # AccessSpecifier: Public (0x3)
579 # AccessSpecifier: Public (0x3)
585 # AccessSpecifier: Public (0x3)
591 # AccessSpecifier: Public (0x3)
658 # AccessSpecifier: Public (0x3)
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DDefaultConstructorDeclaration.java19 import com.github.javaparser.ast.AccessSpecifier;
64 public AccessSpecifier accessSpecifier() { in accessSpecifier()
65 return AccessSpecifier.PUBLIC; in accessSpecifier()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/declarations/
DHasAccessSpecifier.java24 import com.github.javaparser.ast.AccessSpecifier;
37 AccessSpecifier accessSpecifier(); in accessSpecifier()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DAccessSpecifier.java31 public enum AccessSpecifier { enum
40 private AccessSpecifier(String codeRepresentation) { in AccessSpecifier() method in AccessSpecifier
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DAccessSpecifier.java31 public enum AccessSpecifier { enum
40 AccessSpecifier(String codeRepresentation) { in AccessSpecifier() method in AccessSpecifier

12345678