public abstract static class GlobalBuiltins.JSLoadOperation extends GlobalBuiltins.JSFileLoadingOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected static String |
EVAL_OBJ_FILE_NAME |
protected static String |
EVAL_OBJ_SOURCE |
INTERMEDIATE_VALUE| Constructor and Description |
|---|
JSLoadOperation(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
fileGetPath(File file) |
protected static ScriptNode |
loadStringImpl(JSContext ctxt,
String name,
String script) |
protected Object |
runImpl(JSRealm realm,
com.oracle.truffle.api.source.Source source) |
protected com.oracle.truffle.api.source.Source |
sourceFromFileName(String fileName,
JSRealm realm) |
protected com.oracle.truffle.api.source.Source |
sourceFromPath(String path,
JSRealm realm) |
protected com.oracle.truffle.api.source.Source |
sourceFromURL(URL url) |
cannotLoadScript, 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 static final String EVAL_OBJ_FILE_NAME
protected static final String EVAL_OBJ_SOURCE
protected static ScriptNode loadStringImpl(JSContext ctxt, String name, String script)
protected final com.oracle.truffle.api.source.Source sourceFromURL(URL url)
protected final com.oracle.truffle.api.source.Source sourceFromFileName(String fileName, JSRealm realm)
protected com.oracle.truffle.api.source.Source sourceFromPath(String path, JSRealm realm)
sourceFromPath in class GlobalBuiltins.JSFileLoadingOperation