myna.js
function allGrammarRules() {
        return Object.keys(Myna.allRules).sort().map(function (k) { return Myna.allRules[k]; });
    }
function allGrammarRules() {
        return Object.keys(Myna.allRules).sort().map(function (k) { return Myna.allRules[k]; });
    }
function allGrammarRules ( ) { return Object . keys ( Myna . allRules ) . sort ( ) . map ( function ( k ) { return Myna . allRules [ k ] ; } ) ; }
Returns all rules as an array sorted by name.
Returns all rules as an array sorted by name .