Interface PooledValueCoercible
- All Superinterfaces:
Boxed<org.graalvm.polyglot.Value>, org.graalvm.polyglot.proxy.Proxy, org.graalvm.polyglot.proxy.ProxyObject, ValueCoercible
A generated pooled Python stub that can resolve its Python value for a specific context.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ValueCoercible
ValueCoercible.GeneratedPropertyMembers, ValueCoercible.HostObjectReference, ValueCoercible.JavaBaseMembers -
Field Summary
Fields inherited from interface ValueCoercible
AS_POLYGLOT_VALUE_MEMBER, HOST_OBJECT_MEMBER, PYTHON_OBJECT_MEMBER, RUNTIME_MEMBER_PREFIX, THROWABLE_MEMBERS -
Method Summary
Modifier and TypeMethodDescription@NonNull org.graalvm.polyglot.ValueasPolyglotValue(org.graalvm.polyglot.Context context) Converts the type to a Truffle value in the given context.default @NonNull org.graalvm.polyglot.ValuereconstructPolyglotValue(org.graalvm.polyglot.Context context) Reconstructs the Python value after context-local identity handling has been established.Methods inherited from interface org.graalvm.polyglot.proxy.ProxyObject
removeMemberMethods inherited from interface ValueCoercible
$unbox, asPolyglotValue, getMember, getMemberKeys, hasMember, putMember
-
Method Details
-
asPolyglotValue
-
reconstructPolyglotValue
@NonNull default @NonNull org.graalvm.polyglot.Value reconstructPolyglotValue(org.graalvm.polyglot.Context context) Reconstructs the Python value after context-local identity handling has been established. Generated code calls this method throughasPolyglotValue(Context).- Parameters:
context- The target context- Returns:
- The reconstructed value
-