samples/JavaScript/ccalc-lex.js
// The rest of the members is kept intact as they are harmless.
The rest of the members is kept intact as they are harmless.
The rest of the members is kept intact as they are harmless .
function destructLexErrorInfo() {
                var rec = !!this.recoverable;
                for (var key in this) {
                    if (this.hasOwnProperty(key) && typeof key === 'object') {
                        this[key] = undefined;
                    }
                }
                this.recoverable = rec;
            }
function destructLexErrorInfo ( ) { var rec = ! ! this . recoverable ; for ( var key in this ) { if ( this . hasOwnProperty ( key ) && typeof key === 'object' ) { this [ key ] = undefined ; } } this . recoverable = rec ; }
The rest of the members is kept intact as they are harmless.
The rest of the members is kept intact as they are harmless .
// remove cyclic references added to error info: // info.yy = null; // info.lexer = null; // ...