/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | LexicalPreservingPrinterTest.java | 736 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 738 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 740 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.LPAREN)); in nodeTextForMethod() 742 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.RPAREN)); in nodeTextForMethod() 743 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 749 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.LBRACE)); in nodeTextForMethod() 751 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 752 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 753 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 754 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | Kept.java | 43 if (isToken()) { in getTokenType() 60 public boolean isToken() { return element instanceof CsmToken; } in isToken() method in Kept 74 if(isToken()) { in isWhiteSpace() 83 if (isToken()) { in isWhiteSpaceOrComment() 92 if(isToken()) { in isNewLine()
|
D | TextElement.java | 34 abstract boolean isToken(int tokenKind); in isToken() method in TextElement 37 return isToken(GeneratedJavaParserConstants.JAVADOC_COMMENT) in isCommentToken() 38 || isToken(GeneratedJavaParserConstants.SINGLE_LINE_COMMENT) in isCommentToken() 39 || isToken(GeneratedJavaParserConstants.MULTI_LINE_COMMENT); in isCommentToken()
|
D | Removed.java | 50 if (isToken()) { in getTokenType() 63 public boolean isToken() { return element instanceof CsmToken; } in isToken() method in Removed 77 if(isToken()) { in isWhiteSpace() 91 if(isToken()) { in isNewLine()
|
D | Difference.java | 80 if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isToken(LBRACE)) { in isAfterLBrace() 379 } else if (removed.isToken() && originalElementIsToken && in applyRemovedDiffElement() 457 } else if (kept.isToken() && originalElementIsToken) { in applyKeptDiffElement() 496 if (nodeText.getTextElement(index).isToken(LBRACE)) { in openBraceWasOnSameLine() 505 return nodeText.getTextElement(originalIndex).isToken(RBRACE) in wasSpaceBetweenBraces() 512 return nodeText.getElements().get(index).isToken(LBRACE); in doWeHaveLeftBraceFollowedBySpace() 530 return element.isToken(RBRACE); in nextIsRightBrace() 562 … && originalElements.get(originalIndex).isToken(((TokenTextElement)e).getTokenKind())) { in applyAddedDiffElement() 753 …dex < nodeText.getElements().size() && nodeText.getElements().get(nodeTextIndex).isToken(RBRACE)) { in adjustIndentation()
|
D | TextElementMatchers.java | 29 return textElement -> textElement.isToken(tokenType); in byTokenType()
|
D | ChildTextElement.java | 49 boolean isToken(int tokenKind) { in isToken() method in ChildTextElement
|
D | TokenTextElement.java | 84 boolean isToken(int tokenKind) { in isToken() method in TokenTextElement
|
D | LexicalPreservingPrinter.java | 224 .filter(e -> e.isToken(JAVADOC_COMMENT)) in findTokenTextElementForComment() 230 .filter(e -> e.isToken(MULTI_LINE_COMMENT)) in findTokenTextElementForComment() 236 .filter(e -> e.isToken(SINGLE_LINE_COMMENT)) in findTokenTextElementForComment()
|
D | RemovedGroup.java | 142 } else if (startElement.isToken()) { in hasOnlyWhitespace()
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/ |
D | JavaInput.java | 76 private final boolean isToken; field in JavaInput.Tok 96 boolean isToken, in Tok() argument 103 this.isToken = isToken; in Tok() 137 boolean isToken() { in isToken() method in JavaInput.Tok 138 return isToken; in isToken() 175 .add("isToken", isToken) in toString() 384 final boolean isToken; // Is this tok a token? in buildToks() 389 isToken = false; in buildToks() 406 isToken = true; in buildToks() 418 isToken = false; in buildToks() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
D | XPathParser.java | 328 boolean isToken; in lookbehind() 339 isToken = (c0 == '|') ? false : (c0 == c); in lookbehind() 343 isToken = false; in lookbehind() 348 isToken = false; in lookbehind() 351 return isToken; in lookbehind() 400 boolean isToken; in lookahead() 406 isToken = (lookahead != null) ? lookahead.equals(s) : (s == null); in lookahead() 410 isToken = (null == s); in lookahead() 413 return isToken; in lookahead()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 165 assert(isToken() && "Invalid type access!"); in getToken() 206 bool isToken() const override { return Kind == TOKEN; } in isToken() function 221 bool isBrTarget() { return isBrImm() || isToken(); } in isBrTarget() 223 bool isCallTarget() { return isImm() || isToken(); } in isCallTarget() 880 if (Operands[0]->isToken()) in parseMemoryOperand() 1113 else if (Operands[0]->isToken() && Operands[1]->isReg() && in IsMemoryAssignmentError() 1116 else if (Operands[0]->isToken() && Operands[1]->isToken() && in IsMemoryAssignmentError()
|
/external/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 150 assert(isToken() && "Invalid type access!"); in getToken() 191 bool isToken() const override { return Kind == TOKEN; } in isToken() function 206 bool isBrTarget() { return isBrImm() || isToken(); } in isBrTarget() 208 bool isCallTarget() { return isImm() || isToken(); } in isCallTarget() 857 if (Operands[0]->isToken()) in parseMemoryOperand() 1090 else if (Operands[0]->isToken() && Operands[1]->isReg() && in IsMemoryAssignmentError() 1093 else if (Operands[0]->isToken() && Operands[1]->isToken() && in IsMemoryAssignmentError()
|
/external/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 167 assert(isToken() && "Invalid type access!"); in getToken() 208 bool isToken() const override { return Kind == TOKEN; } in isToken() function 223 bool isBrTarget() { return isBrImm() || isToken(); } in isBrTarget() 225 bool isCallTarget() { return isImm() || isToken(); } in isCallTarget() 904 if (Operands[0]->isToken()) in parseMemoryOperand() 1137 else if (Operands[0]->isToken() && Operands[1]->isReg() && in IsMemoryAssignmentError() 1140 else if (Operands[0]->isToken() && Operands[1]->isToken() && in IsMemoryAssignmentError()
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 55 virtual bool isToken() const = 0;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 55 virtual bool isToken() const = 0;
|
/external/llvm-project/llvm/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 55 virtual bool isToken() const = 0;
|
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 125 bool isToken() const override { return Kind == Token; } in isToken() function 272 if (Op0.isReg() && Op1.isToken() && Op2.isToken() && Op3.isReg() in PreMatchCheck()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
D | BPFAsmParser.cpp | 123 bool isToken() const override { return Kind == Token; } in isToken() function 270 if (Op0.isReg() && Op1.isToken() && Op2.isToken() && Op3.isReg() in PreMatchCheck()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 224 bool isToken() const override { in isToken() function in __anonc7669b330111::AMDGPUOperand 712 assert(isToken()); in getToken() 1431 bool isToken(const AsmToken::TokenKind Kind) const; 2348 assert(isToken(AsmToken::Identifier)); in ParseSpecialReg() 2363 assert(isToken(AsmToken::Identifier)); in ParseRegularReg() 2454 if (isToken(AsmToken::Identifier)) { in ParseAMDGPURegister() 2742 if (isToken(AsmToken::Minus) && in parseSP3NegModifier() 2761 if (isToken(AsmToken::Minus) && peekToken().is(AsmToken::Minus)) { in parseRegOrImmWithFPInputMods() 5414 if (isToken(AsmToken::EndOfStatement)) { in parseFORMAT() 5488 if (Op.isToken() && Op.getToken() == "gds") { in cvtDSImpl() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 216 bool isToken() const override { in isToken() function in __anon4890b4270111::AMDGPUOperand 676 assert(isToken()); in getToken() 1339 bool isToken(const AsmToken::TokenKind Kind) const; 2173 assert(isToken(AsmToken::Identifier)); in ParseSpecialReg() 2188 assert(isToken(AsmToken::Identifier)); in ParseRegularReg() 2257 if (isToken(AsmToken::Identifier)) { in ParseAMDGPURegister() 2515 if (isToken(AsmToken::Minus) && in parseSP3NegModifier() 2534 if (isToken(AsmToken::Minus) && peekToken().is(AsmToken::Minus)) { in parseRegOrImmWithFPInputMods() 4805 if (Op.isToken() && Op.getToken() == "gds") { in cvtDSImpl() 4860 if (Op.isToken() && Op.getToken() == "done") in cvtExp() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 91 bool isToken() const override { return Kind == Token; } in isToken() function 104 assert(isToken()); in getToken()
|
/external/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 93 bool isToken() const override { return Kind == Token; } in isToken() function 106 assert(isToken()); in getToken()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 260 bool isToken() const override { return Kind == Token; } in isToken() function 616 if (FirstOperand.isToken() && FirstOperand.getToken() == "{") { in MatchAndEmitInstruction() 626 if (FirstOperand.isToken() && FirstOperand.getToken() == "}") { in MatchAndEmitInstruction() 832 if (!Operand.isToken()) in previousEqual()
|