(text: string, cached: number, from: number, ch: string): number import {advance_probe} from '@fuzdev/fuz_code/lexer.js'; Returns the cached next occurrence of ch at or after from, re-probing
with indexOf only when the cached position has fallen behind.
PROBE_NOT_FOUND when the text has no further occurrence — a monotonic
probe that keeps delimiter scans linear across a construct that is dense in
ch.
text
stringcached
numberfrom
numberch
stringreturns
number