(ref: UnresolvedRef, context: ResolutionContext)
| 136 | |
| 137 | /** Whether `ref` is a bare Pascal call to one of the System unit's names (see PASCAL_SYSTEM_NAMES). */ |
| 138 | export function isPascalSystemCall(ref: UnresolvedRef, context: ResolutionContext): boolean { |
| 139 | return ref.language === 'pascal' && ref.referenceKind === 'calls' && PASCAL_SYSTEM_NAMES.has(ref.referenceName.toLowerCase()) && |
| 140 | isBareCall(ref, context); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * Whether a Pascal call named by a bare name is written bare: its expression |
no test coverage detected