Searched refs:previousToken (Results 1 – 3 of 3) sorted by relevance
45 private JavaToken previousToken = null; field in JavaToken99 final JavaToken previousToken = tokens.get(tokens.size() - 1); in JavaToken() local100 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() argument129 this.previousToken = previousToken; in JavaToken()154 return Optional.ofNullable(previousToken); in getPreviousToken()710 newToken.previousToken = p; in insert()712 previousToken = newToken; in insert()[all …]
186 Optional<JavaToken> previousToken = begin.getPreviousToken(); in getIndentation() local188 … 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()
2763 TextParser previousToken(&*tokenIter); in parseObject() local2771 if (previousToken.startsWith("defined")) { in parseObject()2775 if (previousToken.startsWith("sizeof") && 6 == previousToken.lineLength()) { in parseObject()