lib/expression-parser/processor.js
function tryInit() {
    var temp, i, files;

    if(!processors.length) {
        var processorsPath = path.resolve(__dirname, "processor");
        files = fs.readdirSync(processorsPath);
        for (i = 0; i < files.length; ++i) {
            temp = require(path.resolve(processorsPath, files[i]));
            processors.push(temp);
            processorsNamed[temp.name] = temp;
        }
    }

    if(!complexExpressions.length) {
        var expressionsPath = path.resolve(__dirname, "combination");
        files = fs.readdirSync(expressionsPath);
        for (i = 0; i < files.length; ++i) {
            temp = require(path.resolve(expressionsPath, files[i]));
            complexExpressions[temp.name] = temp.value;
        }
    }
}
function tryInit() {
    var temp, i, files;

    if(!processors.length) {
        var processorsPath = path.resolve(__dirname, "processor");
        files = fs.readdirSync(processorsPath);
        for (i = 0; i < files.length; ++i) {
            temp = require(path.resolve(processorsPath, files[i]));
            processors.push(temp);
            processorsNamed[temp.name] = temp;
        }
    }

    if(!complexExpressions.length) {
        var expressionsPath = path.resolve(__dirname, "combination");
        files = fs.readdirSync(expressionsPath);
        for (i = 0; i < files.length; ++i) {
            temp = require(path.resolve(expressionsPath, files[i]));
            complexExpressions[temp.name] = temp.value;
        }
    }
}
function tryInit ( ) { var temp , i , files ; if ( ! processors . length ) { var processorsPath = path . resolve ( __dirname , "processor" ) ; files = fs . readdirSync ( processorsPath ) ; for ( i = 0 ; i < files . length ; ++ i ) { temp = require ( path . resolve ( processorsPath , files [ i ] ) ) ; processors . push ( temp ) ; processorsNamed [ temp . name ] = temp ; } } if ( ! complexExpressions . length ) { var expressionsPath = path . resolve ( __dirname , "combination" ) ; files = fs . readdirSync ( expressionsPath ) ; for ( i = 0 ; i < files . length ; ++ i ) { temp = require ( path . resolve ( expressionsPath , files [ i ] ) ) ; complexExpressions [ temp . name ] = temp . value ; } } }
/ private methods ///
/ private methods ///