function checkForExport(node){if(node.specifiers.length===0){return;}var firstSpecifier=node.specifiers[0],lastSpecifier=node.specifiers[node.specifiers.length-1],first=sourceCode.getTokenBefore(firstSpecifier),last=sourceCode.getTokenAfter(lastSpecifier);// export * as x from '...';
// export x from '...';
if(first.value==="export"){return;}// to support a trailing comma.
if(last.value===","){last=sourceCode.getTokenAfter(last);}var second=sourceCode.getTokenAfter(first),penultimate=sourceCode.getTokenBefore(last);validateBraceSpacing(node,first,second,penultimate,last);}//--------------------------------------------------------------------------
Reports a given export node if spacing in curly braces is invalid.
@param {ASTNode} node - An ExportNamedDeclaration node to check.
@returns {void}