function inStaticContext(node, typescript) {
    let currentNode = node;
    while (currentNode != null && !typescript.isSourceFile(currentNode)) {
        if (hasModifier(currentNode, typescript.SyntaxKind.StaticKeyword))
            return true;
        currentNode = currentNode.parent;
    }
    return false;
}
/**
 * Returns true if the given Node exists within a static context
 */
Returns true if the given Node exists within a static context
Returns true if the given Node exists within a static context
function inStaticContext(node, typescript) {
    let currentNode = node;
    while (currentNode != null && !typescript.isSourceFile(currentNode)) {
        if (hasModifier(currentNode, typescript.SyntaxKind.StaticKeyword))
            return true;
        currentNode = currentNode.parent;
    }
    return false;
}
function inStaticContext ( node , typescript ) { let currentNode = node ; while ( currentNode != null && ! typescript . isSourceFile ( currentNode ) ) { if ( hasModifier ( currentNode , typescript . SyntaxKind . StaticKeyword ) ) return true ; currentNode = currentNode . parent ; } return false ; }
Returns true if the given Node exists within a static context
Returns true if the given Node exists within a static context