1234567891011121314151617181920 |
- 'use strict';
- module.exports = function nextNonCommentNode(startNode) {
- if (!startNode || !startNode.next) return null;
- if (startNode.type === 'comment') {
- return nextNonCommentNode(startNode.next());
- }
- return startNode;
- };
|