public abstract static class GlobalBuiltins.JSGlobalLoadNode extends GlobalBuiltins.JSLoadOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedFX_RESOURCES_PATH, LOAD_CLASSPATH, LOAD_FX, LOAD_NASHORN, NASHORN_BASE_PATH, NASHORN_MOZILLA_COMPAT_JS, NASHORN_PARSER_JS, RESOURCES_PATHARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSGlobalLoadNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
evalImpl(JSRealm realm,
com.oracle.truffle.api.strings.TruffleString fileName,
com.oracle.truffle.api.strings.TruffleString source,
Object[] args) |
protected Object |
loadConvertToString(Object fileName,
Object[] args) |
protected Object |
loadFile(JSRealm realm,
String filePath) |
protected Object |
loadFromPath(com.oracle.truffle.api.strings.TruffleString path,
JSRealm realm,
Object[] args) |
protected Object |
loadScriptObj(JSObject scriptObj,
Object[] args) |
protected Object |
loadString(com.oracle.truffle.api.strings.TruffleString path,
Object[] args) |
protected Object |
loadTruffleObject(Object scriptObj,
Object[] args,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected Object |
loadURL(JSRealm realm,
URL url) |
loadStringImpl, runImpl, sourceFromFileName, sourceFromPath, sourceFromURLcannotLoadScript, sourceFromTruffleFilecopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected Object loadString(com.oracle.truffle.api.strings.TruffleString path, Object[] args)
protected Object loadFromPath(com.oracle.truffle.api.strings.TruffleString path, JSRealm realm, Object[] args)
protected Object loadTruffleObject(Object scriptObj, Object[] args, com.oracle.truffle.api.interop.InteropLibrary interop)