Files
SnowLuma/.pnpm-store/v11/files/1f/245fedac53ff68d466a9848370f6c13441fe0fcba7075ca90d317e28d6d5d6085bca056860983f38e0631a48a9de7ab726808ed64478e019f5f38f38543787
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
347 B
Plaintext

import { OptionsL33tTable } from '../../../../../types'
import TrieNode from './TrieNode'
export default (l33tTable: OptionsL33tTable, triNode: TrieNode) => {
Object.entries(l33tTable).forEach(([letter, substitutions]) => {
substitutions.forEach((substitution) => {
triNode.addSub(substitution, letter)
})
})
return triNode
}