lib/jison/jison.js
function processOperators (ops) {
    if (!ops) return {};
    var operators = {};
    for (var i=0,k,prec;prec=ops[i]; i++) {
        for (k=1;k < prec.length;k++) {
            operators[prec[k]] = {precedence: i+1, assoc: prec[0]};
        }
    }
    return operators;
}
function processOperators (ops) {
    if (!ops) return {};
    var operators = {};
    for (var i=0,k,prec;prec=ops[i]; i++) {
        for (k=1;k < prec.length;k++) {
            operators[prec[k]] = {precedence: i+1, assoc: prec[0]};
        }
    }
    return operators;
}
function processOperators ( ops ) { if ( ! ops ) return { } ; var operators = { } ; for ( var i = 0 , k , prec ; prec = ops [ i ] ; i ++ ) { for ( k = 1 ; k < prec . length ; k ++ ) { operators [ prec [ k ] ] = { precedence : i + 1 , assoc : prec [ 0 ] } ; } } return operators ; }
set precedence and associativity of operators
set precedence and associativity of operators