public abstract class ExportByteSourceNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
ExportByteSourceNode(JSContext context,
String nonByteSourceMessage,
String emptyByteSourceMessage) |
| Modifier and Type | Method and Description |
|---|---|
static ExportByteSourceNode |
create(JSContext context,
String nonByteSourceMessage,
String emptyByteSourceMessage) |
abstract Object |
execute(Object byteSource) |
protected Object |
exportBuffer(JSArrayBufferObject arrayBuffer,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected Object |
exportDataView(JSDataViewObject dataView,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected Object |
exportOther(Object other) |
protected Object |
exportTypedArray(JSTypedArrayObject typedArray,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static ExportByteSourceNode create(JSContext context, String nonByteSourceMessage, String emptyByteSourceMessage)
protected Object exportBuffer(JSArrayBufferObject arrayBuffer, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected Object exportTypedArray(JSTypedArrayObject typedArray, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected Object exportDataView(JSDataViewObject dataView, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)