(prompt: string)
| 515 | * still fire through the language-agnostic code-token path. |
| 516 | */ |
| 517 | export function hasStructuralKeyword(prompt: string): boolean { |
| 518 | return ( |
| 519 | !!prompt && |
| 520 | (STRUCTURAL_WORDS_RE.test(prompt) || STRUCTURAL_STEMS_RE.test(prompt) || STRUCTURAL_UNSEGMENTED.test(prompt)) |
| 521 | ); |
| 522 | } |
| 523 | |
| 524 | /** |
| 525 | * Identifier-shaped tokens in `prompt` — camelCase / PascalCase-with-inner-cap, |
no outgoing calls
no test coverage detected