Class GlobalBuiltins.JSLoadOperation
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.JavaScriptNode
com.oracle.truffle.js.nodes.function.AbstractBodyNode
com.oracle.truffle.js.nodes.function.JSBuiltinNode
com.oracle.truffle.js.builtins.GlobalBuiltins.JSFileLoadingOperation
com.oracle.truffle.js.builtins.GlobalBuiltins.JSLoadOperation
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode,com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
GlobalBuiltins.JSGlobalLoadNode
- Enclosing class:
GlobalBuiltins
public abstract static class GlobalBuiltins.JSLoadOperation
extends GlobalBuiltins.JSFileLoadingOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedNested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
ARGUMENTSFields inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final ScriptNodeloadStringImpl(com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.strings.TruffleString script) protected final Objectprotected static com.oracle.truffle.api.source.SourcesourceFromFileName(String fileName, JSRealm realm) protected com.oracle.truffle.api.source.SourcesourceFromPath(String path, JSRealm realm) protected final com.oracle.truffle.api.source.SourcesourceFromURL(URL url, JSRealm realm) protected final com.oracle.truffle.api.strings.TruffleStringMethods inherited from class com.oracle.truffle.js.builtins.GlobalBuiltins.JSFileLoadingOperation
cannotLoadScript, sourceFromTruffleFileMethods inherited from class com.oracle.truffle.js.nodes.function.JSBuiltinNode
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedMethods inherited from class com.oracle.truffle.js.nodes.function.AbstractBodyNode
executeBoolean, executeDouble, executeInt, executeVoidMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
createProbe, findNearestNodeAt, findNearestNodeAt, findProbe, materializeInstrumentableNodes
-
Field Details
-
LOAD_CLASSPATH
- See Also:
-
LOAD_FX
- See Also:
-
LOAD_NASHORN
- See Also:
-
RESOURCES_PATH
- See Also:
-
FX_RESOURCES_PATH
- See Also:
-
NASHORN_BASE_PATH
- See Also:
-
NASHORN_PARSER_JS
- See Also:
-
NASHORN_MOZILLA_COMPAT_JS
- See Also:
-
-
Constructor Details
-
JSLoadOperation
-
-
Method Details
-
runImpl
-
loadStringImpl
protected final ScriptNode loadStringImpl(com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.strings.TruffleString script) -
sourceFromURL
-
sourceFromFileName
-
sourceFromPath
- Overrides:
sourceFromPathin classGlobalBuiltins.JSFileLoadingOperation
-
toString1
-