scopeTrial method
Implementation
void scopeTrial(PrimaryRepairInfo repair, List<int> stack, int stack_top) {
if (stateSeen.length < stateStack.length) {
stateSeen = List<int>.filled(stateStack.length, 0);
}
for (var i = 0; i < stateStack.length; i++) {
stateSeen[i] = NIL;
}
statePoolTop = 0;
if (statePool.length < stateStack.length) {
statePool = List.filled(stateStack.length, null);
}
scopeTrialCheck(repair, stack, stack_top, 0);
repair.code = SCOPE_CODE;
repair.misspellIndex = 10;
return;
}