int (@NotNull ASTNode node) { ASTNode indentNode = node.getTreePrev(); if (indentNode == null || indentNode.getElementType() != YAMLTokenTypes.INDENT) { return 0; } return indentNode.getTextLength(); }