MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / commentMarker

Function commentMarker

src/cli/render/assistant-message.tsx:161–166  ·  view source on GitHub ↗
(fam: LangFamily)

Source from the content-addressed store, hash-verified

159};
160
161function commentMarker(fam: LangFamily): string | null {
162 if (fam === 'py' || fam === 'sh' || fam === 'yaml') return '#';
163 if (fam === 'sql') return '--';
164 if (fam === 'js' || fam === 'go' || fam === 'rust' || fam === 'php' || fam === 'css') return '//';
165 return null;
166}
167
168/**
169 * Tokenize a single code line into coloured spans. CONTRACT: the concatenation

Callers 1

tokenizeCodeLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected