def idx.find
import bolt@1.27.0.0/src/lsp/semantic.bend as Semanticimport Base
187# the entries at the end of a key's path
188def idx.find(pp: List<&2, Bool>, ii: Index) -> List<&2, Entry>:
189 match pp:
190 case Nil{}:
191 idx.es(ii)
192 case Con{bb, rest}:
193 idx.find(rest, idx.near(bb, ii))