(prompt: string)
| 456 | * still fire through the language-agnostic code-token path. |
| 457 | */ |
| 458 | export function hasStructuralKeyword(prompt: string): boolean { |
| 459 | return ( |
| 460 | !!prompt && |
| 461 | (STRUCTURAL_WORDS_RE.test(prompt) || STRUCTURAL_STEMS_RE.test(prompt) || STRUCTURAL_UNSEGMENTED.test(prompt)) |
| 462 | ); |
| 463 | } |
| 464 | |
| 465 | /** |
| 466 | * Identifier-shaped tokens in `prompt` — camelCase / PascalCase-with-inner-cap, |
no outgoing calls
no test coverage detected