/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/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-7.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() 879 if (Operands[0]->isToken()) in parseMemoryOperand() 1112 else if (Operands[0]->isToken() && Operands[1]->isReg() && in IsMemoryAssignmentError() 1115 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/swiftshader/third_party/llvm-7.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/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 55 virtual bool isToken() const = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 56 virtual bool isToken() const = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/AsmParser/ |
D | WebAssemblyAsmParser.cpp | 109 bool isToken() const override { return Kind == Token; } in isToken() function 124 assert(isToken()); in getToken()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 261 bool isToken() const override { return Kind == Token; } in isToken() function 618 if (FirstOperand.isToken() && FirstOperand.getToken() == "{") { in MatchAndEmitInstruction() 628 if (FirstOperand.isToken() && FirstOperand.getToken() == "}") { in MatchAndEmitInstruction() 834 if (!Operand.isToken()) in previousEqual()
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 237 bool isToken() const { return Kind == Token; } in isToken() function 829 if (FirstOperand.isToken() && FirstOperand.getToken() == "{") { in MatchAndEmitInstruction() 838 if (FirstOperand.isToken() && FirstOperand.getToken() == "}") { in MatchAndEmitInstruction() 1077 if (!Operand.isToken()) in previousEqual()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 1180 bool isToken() const override { return Kind == k_Token; } in isToken() function in __anon95fcbb170111::AArch64Operand 4343 assert(Op.isToken() && "Leading operand should always be a mnemonic!"); in MatchAndEmitInstruction() 4560 if ((Op1.isToken() && Op2.isNeonVectorReg() && Op3.isImm()) || in MatchAndEmitInstruction() 4561 (Op1.isNeonVectorReg() && Op2.isToken() && Op3.isImm())) { in MatchAndEmitInstruction() 4562 StringRef Suffix = Op1.isToken() ? Op1.getToken() : Op2.getToken(); in MatchAndEmitInstruction() 4568 unsigned Idx = Op1.isToken() ? 1 : 2; in MatchAndEmitInstruction() 4645 Operands.size() > 1 && ((AArch64Operand &)*Operands[1]).isToken() && in MatchAndEmitInstruction() 4697 if (((AArch64Operand &)*Operands[ErrorInfo]).isToken() && in MatchAndEmitInstruction()
|
/external/llvm/lib/Target/AMDGPU/AsmParser/ |
D | AMDGPUAsmParser.cpp | 160 bool isToken() const override { in isToken() function in __anonfb5739a90111::AMDGPUOperand 316 assert(isToken()); in getToken() 1697 if (Op.isToken() && Op.getToken() == "gds") { in cvtDS() 2149 if (Op.isToken()) { in cvtMubufImpl()
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 1060 bool isToken() const override { return Kind == k_Token; } in isToken() function in __anon92eb58ed0311::ARMOperand 5114 bool isVmovf = TyOp.isToken() && in parseFPImm() 5118 bool isFconst = Mnemonic.isToken() && (Mnemonic.getToken() == "fconstd" || in parseFPImm() 5749 if (static_cast<ARMOperand &>(*Operands[3]).isToken() && in shouldOmitPredicateOperand() 6141 bool HasWritebackToken = Op.isToken() && Op.getToken() == "!"; in validatetLDMRegList() 6164 bool HasWritebackToken = Op.isToken() && Op.getToken() == "!"; in validatetSTMRegList() 6356 (static_cast<ARMOperand &>(*Operands[3]).isToken() && in validateInstruction() 6904 !(static_cast<ARMOperand &>(*Operands[2]).isToken() && in processInstruction() 8079 !(static_cast<ARMOperand &>(*Operands[3]).isToken() && in processInstruction() 8363 (static_cast<ARMOperand &>(*Operands[3]).isToken() && in processInstruction() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 132 bool isToken() const override {return Kind == Token; } in isToken() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 203 bool isToken() const override {return Kind == Token; } in isToken() function
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | ActionTranslator.g | 129 public void checkElementRefUniqueness(String ref, boolean isToken) { 131 if ( isToken ) {
|