Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function classs() { // tslint:disable:no-console console.log('TODO: class selector 😎'); return false; } exports.classs = classs; // case 'class': // if(!node.type) return false; // switch(selector.name.toLowerCase()){ // case 'statement': // if(node.type.slice(-9) === 'Statement') return true; // // fallthrough: interface Declaration <: Statement { } // case 'declaration': // return node.type.slice(-11) === 'Declaration'; // case 'pattern': // if(node.type.slice(-7) === 'Pattern') return true; // // fallthrough: interface Expression <: Node, Pattern { } // case 'expression': // return node.type.slice(-10) === 'Expression' || // node.type.slice(-7) === 'Literal' || // ( // node.type === 'Identifier' && // (ancestry.length === 0 || ancestry[0].type !== 'MetaProperty') // ) || // node.type === 'MetaProperty'; // case 'function': // return node.type.slice(0, 8) === 'Function' || // node.type === 'ArrowFunctionExpression'; // } // throw new Error('Unknown class name: ' + selector.name); // } //# sourceMappingURL=class.js.map |