Home
last modified time | relevance | path

Searched refs:previousToken (Results 1 – 3 of 3) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavaToken.java45 private JavaToken previousToken = null; field in JavaToken
99 final JavaToken previousToken = tokens.get(tokens.size() - 1); in JavaToken() local
100 this.previousToken = previousToken; in JavaToken()
101 previousToken.nextToken = this; in JavaToken()
103 previousToken = null; in JavaToken()
124 …public JavaToken(Range range, int kind, String text, JavaToken previousToken, JavaToken nextToken)… in JavaToken() argument
129 this.previousToken = previousToken; in JavaToken()
154 return Optional.ofNullable(previousToken); in getPreviousToken()
710 newToken.previousToken = p; in insert()
712 previousToken = newToken; in insert()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DRemovedGroup.java186 Optional<JavaToken> previousToken = begin.getPreviousToken(); in getIndentation() local
188 … while(previousToken.isPresent() && (TokenTypes.isSpaceOrTab(previousToken.get().getKind()))) { in getIndentation()
191 previousToken = previousToken.get().getPreviousToken(); in getIndentation()
194 if (previousToken.isPresent()) { in getIndentation()
195 if (TokenTypes.isEndOfLineToken(previousToken.get().getKind())) { in getIndentation()
/external/skqp/tools/bookmaker/
DincludeParser.cpp2763 TextParser previousToken(&*tokenIter); in parseObject() local
2771 if (previousToken.startsWith("defined")) { in parseObject()
2775 if (previousToken.startsWith("sizeof") && 6 == previousToken.lineLength()) { in parseObject()