Home
last modified time | relevance | path

Searched refs:isAnnotation (Results 1 – 18 of 18) sorted by relevance

/external/clang/include/clang/Lex/
DToken.h107 bool isAnnotation() const { in isAnnotation() function
108 return tok::isAnnotation(getKind()); in isAnnotation()
115 assert(!isAnnotation() && "Annotation tokens have no length field"); in getLength()
121 assert(!isAnnotation() && "Annotation tokens have no length field"); in setLength()
126 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in getAnnotationEndLoc()
130 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token"); in setAnnotationEndLoc()
135 return isAnnotation() ? getAnnotationEndLoc() : getLocation(); in getLastLoc()
162 assert(!isAnnotation() && in getIdentifierInfo()
196 assert(isAnnotation() && "Used AnnotVal on non-annotation token"); in getAnnotationValue()
200 assert(isAnnotation() && "Used AnnotVal on non-annotation token"); in setAnnotationValue()
DPreprocessor.h73 assert(!tok::isAnnotation(Kind) && "Annotations are not supported."); in TokenValue()
887 assert(Tok.isAnnotation() && "Expected annotation token"); in AnnotateCachedTokens()
908 assert(Tok.isAnnotation() && "Expected annotation token"); in ReplaceLastTokenWithAnnotation()
/external/clang/lib/Parse/
DParseOpenMP.cpp31 Tok.isAnnotation() in ParseOpenMPDirectiveKind()
37 Tok.isAnnotation() in ParseOpenMPDirectiveKind()
161 OpenMPClauseKind CKind = Tok.isAnnotation() in ParseOpenMPDeclarativeOrExecutableDirective()
445 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSimpleClause()
491 Kind, Tok.isAnnotation() ? "" : PP.getSpelling(Tok)); in ParseOpenMPSingleExprWithArgClause()
DParseAST.cpp58 if (Tok.isAnnotation()) { in print()
DParser.cpp1434 assert(!Tok.is(tok::identifier) && !Tok.isAnnotation()); in TryKeywordIdentFallback()
1526 Tok.isAnnotation())) { in TryAnnotateTypeOrScopeToken()
DParseDeclCXX.cpp1232 !Tok.isAnnotation()) { in ParseClassSpecifier()
/external/clang/include/clang/Basic/
DTokenKinds.h95 inline bool isAnnotation(TokenKind K) { in isAnnotation() function
/external/clang/lib/Lex/
DPPCaching.cpp98 assert(Tok.isAnnotation() && "Expected annotation token"); in AnnotatePreviousCachedTokens()
DPPMacroExpansion.cpp1490 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) in ExpandBuiltinMacro()
1498 if (!Tok.isAnnotation() && Tok.getIdentifierInfo()) in ExpandBuiltinMacro()
1504 if (Tok.is(tok::eof) || Tok.is(tok::eod) || Tok.isAnnotation()) in ExpandBuiltinMacro()
DTokenLexer.cpp483 if (!Tok.isAnnotation() && Tok.getIdentifierInfo() != nullptr) { in Lex()
/external/javassist/src/main/javassist/
DModifier.java141 public static boolean isAnnotation(int mod) { in isAnnotation() method in Modifier
DCtClass.java452 public boolean isAnnotation() { in isAnnotation() method in CtClass
DCtClassType.java378 public boolean isAnnotation() { in isAnnotation() method in CtClassType
379 return Modifier.isAnnotation(getModifiers()); in isAnnotation()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java95 boolean isAnnotation = false; // TODO: not sure. in startElement()
106 isException, isError, isEnum, isAnnotation, isFinal, isIncluded, name, qualifiedName, in startElement()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DAccessFlags.java273 public static boolean isAnnotation(int flags) { in isAnnotation() method in AccessFlags
/external/doclava/src/com/google/doclava/
DClassInfo.java94 … boolean isException, boolean isError, boolean isEnum, boolean isAnnotation, boolean isFinal, in ClassInfo() argument
102 isException, isError, isEnum, isAnnotation, isFinal, in ClassInfo()
114 … boolean isException, boolean isError, boolean isEnum, boolean isAnnotation, boolean isFinal, in initialize() argument
131 mIsAnnotation = isAnnotation; in initialize()
286 public boolean isAnnotation() { in isAnnotation() method in ClassInfo
1797 } else if (isAnnotation()) { in kind()
DInfoBuilder.java564 boolean isAnnotation = false; in buildClassName()
575 isAnnotation = true; in buildClassName()
600 isOrdinaryClass, isException, isError, isEnum, isAnnotation, in buildClassName()
962 boolean isAnnotation) { in buildMethod() argument
1060 if (isAnnotation) { in buildMethod()
DStubs.java377 if (cl.isAbstract() && !cl.isAnnotation() && !cl.isInterface()) { in writeClass()
415 if (usedInterfaces.size() > 0 && !cl.isAnnotation()) { in writeClass()
417 if (cl.isInterface() || cl.isAnnotation()) { in writeClass()
479 fieldNeedsInitialization)) && !cl.isAnnotation() && !cl.isInterface() && !cl.isEnum()) { in writeClass()