Home
last modified time | relevance | path

Searched refs:csmToken (Results 1 – 5 of 5) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DKept.java44 CsmToken csmToken = (CsmToken) element; in getTokenType() local
45 return csmToken.getTokenType(); in getTokenType()
75 CsmToken csmToken = (CsmToken) element; in isWhiteSpace() local
76 return csmToken.isWhiteSpace(); in isWhiteSpace()
84 CsmToken csmToken = (CsmToken) element; in isWhiteSpaceOrComment() local
85 return TokenTypes.isWhitespaceOrComment(csmToken.getTokenType()); in isWhiteSpaceOrComment()
93 CsmToken csmToken = (CsmToken) element; in isNewLine() local
94 return csmToken.isNewLine(); in isNewLine()
DRemoved.java51 CsmToken csmToken = (CsmToken) element; in getTokenType() local
52 return csmToken.getTokenType(); in getTokenType()
78 CsmToken csmToken = (CsmToken) element; in isWhiteSpace() local
79 return csmToken.isWhiteSpace(); in isWhiteSpace()
92 CsmToken csmToken = (CsmToken) element; in isNewLine() local
93 return csmToken.isNewLine(); in isNewLine()
DLexicalPreservingPrinter.java484 CsmToken csmToken = (CsmToken) element; in interpret() local
485 nodeText.addToken(csmToken.getTokenType(), csmToken.getContent(node)); in interpret()
486 if (csmToken.isNewLine()) { in interpret()
DDifference.java726 CsmToken csmToken = (CsmToken)csmElement; in isCorrespondingElement() local
729 …return tokenTextElement.getTokenKind() == csmToken.getTokenType() && tokenTextElement.getText().eq… in isCorrespondingElement()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmToken.java95 CsmToken csmToken = (CsmToken) o; in equals()
97 if (tokenType != csmToken.tokenType) return false; in equals()
98 … if (content != null ? !content.equals(csmToken.content) : csmToken.content != null) return false; in equals()
99 …tentCalculator != null ? tokenContentCalculator.equals(csmToken.tokenContentCalculator) : csmToken in equals()