* The type a value member — a field, a property, or a function read without * parentheses — has, as written at it; a type parameter of its class is what * `args` gives it where it is reached from.
(member: Node, context: ResolutionContext, args: ReadonlyMap<string, VbType> = new Map())
| 1017 | * `args` gives it where it is reached from. |
| 1018 | */ |
| 1019 | function valueMemberType(member: Node, context: ResolutionContext, args: ReadonlyMap<string, VbType> = new Map()): VbType | null { |
| 1020 | const type = sited(member.kind === 'method' ? declaredReturnType(member, context) : memberDeclaredType(member, context), |
| 1021 | member.filePath, member.startLine); |
| 1022 | const given = type ? substitute(type, args) : null; |
| 1023 | return given !== type ? given : resolveTypeParameter(type, member, context); |
| 1024 | } |
| 1025 | |
| 1026 | /** |
| 1027 | * The member a receiver-less `name` reads where a call is: a field, property |
no test coverage detected