function getPropertyName(node){// Special case for class properties
// (babel-eslint does not expose property name so we have to rely on tokens)
if(node.type==='ClassProperty'){var tokens=context.getFirstTokens(node,2);return tokens[1]&&tokens[1].type==='Identifier'?tokens[1].value:tokens[0].value;}return node.key.name;}
Get properties name
@param {Object} node - Property.
@returns {String} Property name.