* Whether data holds a routine, by its declared type: one written in place * (`FProc: procedure of object`, `F: reference to function: Integer`), a * project type declared as one (`TOnLog = procedure(...) of object;`), or a * type the project doesn't declare that the RTL's names say is one * (`T
(node: Node, context: ResolutionContext)
| 2674 | * (`TNotifyEvent`, `TWndMethod`, `TProc<T>`). |
| 2675 | */ |
| 2676 | function isProceduralData(node: Node, context: ResolutionContext): boolean { |
| 2677 | const memo = memos(context).procedural; |
| 2678 | const hit = memo.get(node.id); |
| 2679 | if (hit !== undefined) return hit; |
| 2680 | const procedural = isProceduralTypeText(declaredTypeText(node, context), context, 0); |
| 2681 | memo.set(node.id, procedural); |
| 2682 | return procedural; |
| 2683 | } |
| 2684 | |
| 2685 | /** |
| 2686 | * Whether a written type is a routine's: written out |
no test coverage detected