void (@NotNull ASTNode node) { ProgressManager.checkCanceled(); if (node.getStartOffset() == node.getEndOffset()) { return; } final List<ASTNode> children = node.getChildren(); if (children.isEmpty()) { myLexemes.add(MarkdownElementType.platformType(node.getType())); myStartOffsets.add(node.getStartOffset()); myEndOffsets.add(node.getEndOffset()); } else { super.visitNode(node); } }