Intrinsic
@Introspected
@DefaultScope(value = Context::class)
Intrinsic Class
This annotation marks a class as an "intrinsic" which is used by Elide's guest VM system to implement native methods provided to guest code. Intrinsics are initialized early and included with every spawned context as injected globals present within every scope.
Parameters
global
Global name implemented by this class; only present when a single intrinsic implementation class corresponds 1:1 with a global name in the guest language.
language
Defines the language this intrinsic is implemented for; defaults to JavaScript which is the only supported guest language at this time.