make/ast.js
function (ast, setting, debug) {
        let optimizer = new Optimizer(ast, setting, debug);
        optimizer.analyze();
        optimizer.optimize();
        return ast;
    }
function (ast, setting, debug) {
        let optimizer = new Optimizer(ast, setting, debug);
        optimizer.analyze();
        optimizer.optimize();
        return ast;
    }
function ( ast , setting , debug ) { let optimizer = new Optimizer ( ast , setting , debug ) ; optimizer . analyze ( ) ; optimizer . optimize ( ) ; return ast ; }
Detect & apply optimization patterns
Detect & apply optimization patterns