samples/JavaScript/ccalc-lex.js
// (internal) determine the lexer rule set which is active for the currently active lexer condition state
(internal) determine the lexer rule set which is active for the currently active lexer condition state
( internal ) determine the lexer rule set which is active for the currently active lexer condition state
function lexer__currentRules() {
        if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
            return this.conditions[this.conditionStack[this.conditionStack.length - 1]];
        } else {
            return this.conditions['INITIAL'];
        }
    }
function lexer__currentRules ( ) { if ( this . conditionStack . length && this . conditionStack [ this . conditionStack . length - 1 ] ) { return this . conditions [ this . conditionStack [ this . conditionStack . length - 1 ] ] ; } else { return this . conditions [ 'INITIAL' ] ; } }
(internal) determine the lexer rule set which is active for the currently active lexer condition state
( internal ) determine the lexer rule set which is active for the currently active lexer condition state