function reportError(node,leftToken,rightToken){var replacementText=node.computed?"":".";context.report({node:node,message:"Unexpected whitespace before property {{propName}}.",data:{propName:sourceCode.getText(node.property)},fix:function fix(fixer){if(!node.computed&&astUtils.isDecimalInteger(node.object)){// If the object is a number literal, fixing it to something like 5.toString() would cause a SyntaxError.
// Don't fix this case.
return null;}return fixer.replaceTextRange([leftToken.range[1],rightToken.range[0]],replacementText);}});}//--------------------------------------------------------------------------
Reports whitespace before property token
@param {ASTNode} node - the node to report in the event of an error
@param {Token} leftToken - the left token
@param {Token} rightToken - the right token
@returns {void}
@private