MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / resolve

Function resolve

ui-tui/src/lib/syntax.ts:69–69  ·  view source on GitHub ↗
(lang: string)

Source from the content-addressed store, hash-verified

67}
68
69const resolve = (lang: string): LangSpec | null => LANGS[ALIAS[lang] ?? lang] ?? null
70
71export const isHighlightable = (lang: string): boolean => resolve(lang) !== null
72

Callers 12

writeClipboardTextFunction · 0.70
isHighlightableFunction · 0.70
highlightLineFunction · 0.70
launchClawcodexCommandFunction · 0.70
settleFunction · 0.50
sendMethod · 0.50
setTerminalFocusedFunction · 0.50
controlQueryMethod · 0.50
loadCommandRegistryNamesFunction · 0.50
build-dev.mjsFile · 0.50
build.mjsFile · 0.50
postFunction · 0.50

Calls

no outgoing calls

Tested by 1

loadCommandRegistryNamesFunction · 0.40