Home
last modified time | relevance | path

Searched refs:getTokenKind (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DBracesAroundStatementsCheck.cpp21 tok::TokenKind getTokenKind(SourceLocation Loc, const SourceManager &SM, in getTokenKind() function
44 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in forwardSkipWhitespaceAndComments()
62 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation()
74 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation()
89 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation()
198 tok::TokenKind TokKind = getTokenKind(RParenLoc, SM, Context); in findRParenLoc()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java60 …& e instanceof TokenTextElement && TokenTypes.isWhitespace(((TokenTextElement)e).getTokenKind())) { in processIndentation()
380 (removed.getTokenType() == ((TokenTextElement) originalElement).getTokenKind() in applyRemovedDiffElement()
460 if (kept.getTokenType() == originalTextToken.getTokenKind()) { in applyKeptDiffElement()
562 … && originalElements.get(originalIndex).isToken(((TokenTextElement)e).getTokenKind())) { in applyAddedDiffElement()
729 …return tokenTextElement.getTokenKind() == csmToken.getTokenType() && tokenTextElement.getText().eq… in isCorrespondingElement()
782 int tokenKind = tokenTextElement.getTokenKind(); in isPrimitiveType()
DTokenTextElement.java55 int getTokenKind() { in getTokenKind() method in TokenTextElement
DNodeText.java226 … return ((TokenTextElement)lastElement).getTokenKind() == GeneratedJavaParserConstants.SPACE; in endWithSpace()
DDifferenceElementCalculator.java143 elements.add(new Removed(new CsmToken(tte.getTokenKind(), tte.getText()))); in considerRemoval()
DLexicalPreservingPrinter.java543 if (tte.getTokenKind() == SINGLE_LINE_COMMENT in findIndentation()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinterTest.java64 …ParserConstants.EOF, ((TokenTextElement) getTextForNode(classA).getTextElement(6)).getTokenKind()); in checkNodeTextCreatedForSimplestClass()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1346 AsmToken::TokenKind getTokenKind() const;
5339 return getTokenKind() == Kind; in isToken()
5433 AMDGPUAsmParser::getTokenKind() const { in getTokenKind() function in AMDGPUAsmParser
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1440 AsmToken::TokenKind getTokenKind() const;
6043 return getTokenKind() == Kind; in isToken()
6164 AMDGPUAsmParser::getTokenKind() const { in getTokenKind() function in AMDGPUAsmParser