public abstract static class GlobalBuiltins.JSLoadOperation extends GlobalBuiltins.JSFileLoadingOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
static String |
FX_RESOURCES_PATH |
static String |
LOAD_CLASSPATH |
static String |
LOAD_FX |
static String |
LOAD_NASHORN |
static String |
NASHORN_BASE_PATH |
static String |
NASHORN_MOZILLA_COMPAT_JS |
static String |
NASHORN_PARSER_JS |
static String |
RESOURCES_PATH |
ARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSLoadOperation(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected ScriptNode |
loadStringImpl(com.oracle.truffle.api.strings.TruffleString name,
com.oracle.truffle.api.strings.TruffleString script) |
protected Object |
runImpl(JSRealm realm,
com.oracle.truffle.api.source.Source source) |
protected static 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,
JSRealm realm) |
cannotLoadScript, 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, reportPolymorphicSpecializepublic static final String LOAD_CLASSPATH
public static final String LOAD_FX
public static final String LOAD_NASHORN
public static final String RESOURCES_PATH
public static final String FX_RESOURCES_PATH
public static final String NASHORN_BASE_PATH
public static final String NASHORN_PARSER_JS
public static final String NASHORN_MOZILLA_COMPAT_JS
protected final ScriptNode loadStringImpl(com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.strings.TruffleString script)
protected final com.oracle.truffle.api.source.Source sourceFromURL(URL url, JSRealm realm)
protected static 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