EntryReach
인터페이스, 리플렉션 분류
What a set of entry points transitively reaches, as returned by reachFrom.
import type { EntryReach } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface EntryReach { readonly fns: Set<string>; readonly bindings: Set<string>; readonly refs: RefSet;}인스턴스 속성
fns읽기 전용Set<string>Names of every function reachable through calls from the entries, the entries themselves included.
bindings읽기 전용Set<string>Names of the module’s bindings that a reachable function reads or writes, plus the bindings a called intrinsic reads by name in its emitted code. A local variable that shares a binding’s name can only add a binding to this set; it never removes one.
refs읽기 전용RefSetThe underlying reference sets the walk collected:
calls(function names),vars(variable and binding names) andstructs(struct names), for a caller that also needs the struct names.
함께 보기
소스
src/core/passes/stage-bindings.ts, 31행, 커밋 c66579bf 기준