(escapedReceiver: string)
| 679 | // terminator rules out uses like `return receiver->m()` where the preceding |
| 680 | // token is a keyword, not a type. |
| 681 | function buildDeclaratorRegex(escapedReceiver: string): RegExp { |
| 682 | return new RegExp( |
| 683 | `([A-Za-z_][\\w:]*(?:\\s*<[^;=(){}]+>)?(?:\\s*[*&]+)?)\\s*\\b${escapedReceiver}\\b\\s*(?=[;=,)\\[{(]|$)`, |
| 684 | ); |
| 685 | } |
| 686 | |
| 687 | function inferCppReceiverType( |
| 688 | receiverName: string, |
no outgoing calls
no test coverage detected