MCPcopy Create free account
hub / github.com/arktypeio/arktype / createStandIn

Function createStandIn

ark/aot/interpreter.ts:197–213  ·  view source on GitHub ↗
(
	kind: StandIn["kind"],
	module: SourceModule,
	node: Node,
	init?: Partial<StandIn>
)

Source from the content-addressed store, hash-verified

195}
196
197const createStandIn = (
198 kind: StandIn["kind"],
199 module: SourceModule,
200 node: Node,
201 init?: Partial<StandIn>
202): StandIn => ({
203 kind,
204 module,
205 node,
206 closure: undefined,
207 dynamic: undefined,
208 arity: undefined,
209 effect: undefined,
210 call: undefined,
211 indirectCall: undefined,
212 ...init
213})
214
215type StandInProxyOptions = {
216 kind: StandIn["kind"]

Callers 3

functionStandInMethod · 0.85
classStandInMethod · 0.85
opaqueStandInMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected