(prompt: string)
| 263 | * a candidate the hook verifies against the graph first; see {@link extractCodeTokens}.) |
| 264 | */ |
| 265 | export function hasStructuralKeyword(prompt: string): boolean { |
| 266 | return !!prompt && (STRUCTURAL_EN.test(prompt) || STRUCTURAL_CJK.test(prompt)); |
| 267 | } |
| 268 | |
| 269 | /** |
| 270 | * Identifier-shaped tokens in `prompt` — camelCase / PascalCase-with-inner-cap, |
no outgoing calls
no test coverage detected