public abstract static class GlobalBuiltins.JSGlobalLoadNode extends GlobalBuiltins.JSLoadOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedEVAL_OBJ_FILE_NAME, EVAL_OBJ_SOURCEINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSGlobalLoadNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
evalImpl(JSRealm realm,
String fileName,
String source,
Object[] args) |
protected Object |
loadConvertToString(Object fileName,
Object[] args) |
protected Object |
loadFile(JSRealm realm,
File file) |
protected Object |
loadFromPath(String path,
JSRealm realm,
Object[] args) |
protected Object |
loadScriptObj(com.oracle.truffle.api.object.DynamicObject scriptObj,
Object[] args,
JSToStringNode sourceToStringNode) |
protected Object |
loadString(String path,
Object[] args) |
protected Object |
loadTruffleObject(Object scriptObj,
Object[] args,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected Object |
loadURL(JSRealm realm,
URL url) |
fileGetPath, loadStringImpl, runImpl, sourceFromFileName, sourceFromPath, sourceFromURLcannotLoadScript, sourceFromTruffleFilecopyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object loadTruffleObject(Object scriptObj, Object[] args, com.oracle.truffle.api.interop.InteropLibrary interop)
protected Object loadScriptObj(com.oracle.truffle.api.object.DynamicObject scriptObj, Object[] args, JSToStringNode sourceToStringNode)