Searched refs:nodeTextIndex (Results 1 – 1 of 1) sorted by relevance
79 private boolean isAfterLBrace(NodeText nodeText, int nodeTextIndex) { in isAfterLBrace() argument80 if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isToken(LBRACE)) { in isAfterLBrace()83 if (nodeTextIndex > 0 && nodeText.getElements().get(nodeTextIndex - 1).isSpaceOrTab()) { in isAfterLBrace()84 return isAfterLBrace(nodeText, nodeTextIndex - 1); in isAfterLBrace()93 private int considerEnforcingIndentation(NodeText nodeText, int nodeTextIndex) { in considerEnforcingIndentation() argument95 … for (int i = nodeTextIndex; i >= 0 && hasOnlyWsBefore && i < nodeText.getElements().size(); i--) { in considerEnforcingIndentation()103 int res = nodeTextIndex; in considerEnforcingIndentation()105 for (int i = nodeTextIndex; i >= 0 && i < nodeText.getElements().size(); i--) { in considerEnforcingIndentation()751 …ndentation(List<TokenTextElement> indentation, NodeText nodeText, int nodeTextIndex, boolean follo… in adjustIndentation() argument752 …ntationAdj = processIndentation(indentation, nodeText.getElements().subList(0, nodeTextIndex - 1)); in adjustIndentation()[all …]