lib/rules/no-this-before-super.js
function setInvalid(node) {
            const segments = funcInfo.codePath.currentSegments;

            for (let i = 0; i < segments.length; ++i) {
                const segment = segments[i];

                if (segment.reachable) {
                    segInfoMap[segment.id].invalidNodes.push(node);
                }
            }
        }
function setInvalid(node) {
            const segments = funcInfo.codePath.currentSegments;

            for (let i = 0; i < segments.length; ++i) {
                const segment = segments[i];

                if (segment.reachable) {
                    segInfoMap[segment.id].invalidNodes.push(node);
                }
            }
        }
function setInvalid ( node ) { const segments = funcInfo . codePath . currentSegments ; for ( let i = 0 ; i < segments . length ; ++ i ) { const segment = segments [ i ] ; if ( segment . reachable ) { segInfoMap [ segment . id ] . invalidNodes . push ( node ) ; } } }
Sets a given node as invalid.
@param {ASTNode} node - A node to set as invalid. This is one of
a ThisExpression and a Super.
@returns {void}
Sets a given node as invalid .