- asJavaObject
Wraps a TruffleObject into easy to use interface. Imagine one wants to access a
JavaScript object l
- asTruffleObject
Exports a Java object for use in any TruffleLanguage.
- asTruffleValue
Prepares a Java object for use in any TruffleLanguage. If the object is one of
#isPrimitive values,
- asJavaFunction
Takes executable object from a TruffleLanguage and converts it into an instance
of aJava functional
- asTruffleFunction
Takes a functional interface and its implementation (for example lambda
function) and converts it in
- convertToJavaObject
- currentPolyglotContext
- getMapView
Get a view of map created by
#asJavaObject(java.lang.Class,com.oracle.truffle.api.interop.TruffleObj
- isJavaFunction
- isJavaFunctionInterface
- isJavaObject
Returns true if the argument is Java host language object wrapped using Truffle
interop.
- isPrimitive
Test whether the object is a primitive, which all TruffleLanguages are supposed
to handle. Primitive