packages/extension-map/doc/webpacks/shexmap-webapp.js
// Return FALSE when no error recovery rule was found.
Return FALSE when no error recovery rule was found.
Return FALSE when no error recovery rule was found .
function locateNearestErrorRecoveryRule(state) {
            var stack_probe = stack.length - 1;
            var depth = 0;
            for (;;) {
                if ((TERROR.toString()) in table[state]) {
                    return depth;
                }
                if (state === 0 || stack_probe < 2) {
                    return null; 
                }
                stack_probe -= 2; 
                state = stack[stack_probe];
                ++depth;
            }
        }
function locateNearestErrorRecoveryRule ( state ) { var stack_probe = stack . length - 1 ; var depth = 0 ; for ( ; ; ) { if ( ( TERROR . toString ( ) ) in table [ state ] ) { return depth ; } if ( state === 0 || stack_probe < 2 ) { return null ; } stack_probe -= 2 ; state = stack [ stack_probe ] ; ++ depth ; } }
Return FALSE when no error recovery rule was found.
Return FALSE when no error recovery rule was found .
// try to recover from error // check for error recovery rule in this state // No suitable error recovery rule available. // popStack(1): [symbol, action]