BlockStatement()

in babel-plugin-sling-sandbox/lib/sling-sandbox-plugin/index.js [22:33]


        BlockStatement(path) {
            var threadInterrupted =  t.callExpression(
                    t.memberExpression(
                        t.identifier('SlingSandbox'),
                        t.identifier('checkInterrupted'))
                , []);
          
          path.unshiftContainer('body',
            t.expressionStatement(
                threadInterrupted
            )                                                              );
        }