Class ExportByteSourceNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.wasm.ExportByteSourceNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Exports byte source such that it can be read by WASM.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExportByteSourceNode(JSContext context, String nonByteSourceMessage, String emptyByteSourceMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportByteSourceNodeabstract Objectprotected ObjectexportBuffer(JSArrayBufferObject arrayBuffer) protected ObjectexportDataView(JSDataViewObject dataView) protected ObjectexportOther(Object other) protected ObjectexportTypedArray(JSTypedArrayObject typedArray) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
ExportByteSourceNode
-
-
Method Details
-
execute
-
create
public static ExportByteSourceNode create(JSContext context, String nonByteSourceMessage, String emptyByteSourceMessage) -
exportBuffer
-
exportTypedArray
-
exportDataView
-
exportOther
-