function reportSlice(nodes, start, end, messageId, fix) {
            nodes.slice(start, end).forEach(node => {
                context.report({ node, messageId, fix: fix ? getFixFunction(node) : null });
            });
        }
function reportSlice(nodes, start, end, messageId, fix) {
            nodes.slice(start, end).forEach(node => {
                context.report({ node, messageId, fix: fix ? getFixFunction(node) : null });
            });
        }
function reportSlice ( nodes , start , end , messageId , fix ) { nodes . slice ( start , end ) . forEach ( node => { context . report ( { node , messageId , fix : fix ? getFixFunction ( node ) : null } ) ; } ) ; }
Report a slice of an array of nodes with a given message.
@param {ASTNode[]} nodes Nodes.
@param {string} start Index to start from.
@param {string} end Index to end before.
@param {string} messageId Message to display.
@param {boolean} fix `true` if the directive should be fixed (i.e. removed)
@returns {void}
Report a slice of an array of nodes with a given message .
Reports a slice of nodes