A bare name, looked up the way Delphi looks it up from a routine of class `cls` (null: a free routine): a routine, or null.
(name: string, cls: Node | null, ref: UnresolvedRef, context: ResolutionContext)
| 342 | |
| 343 | /** A bare name, looked up the way Delphi looks it up from a routine of class `cls` (null: a free routine): a routine, or null. */ |
| 344 | function nameInScope(name: string, cls: Node | null, ref: UnresolvedRef, context: ResolutionContext): Found | null { |
| 345 | const decl = declarationInScope(name.toLowerCase(), cls, ref, context); |
| 346 | return decl && isRoutine(decl.node) ? decl : null; |
| 347 | } |
| 348 | |
| 349 | /** |
| 350 | * The routine nested in the calling routine, or in one around it, that a |
no test coverage detected