Class ToTemporalDurationNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.temporal.ToTemporalDurationNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Implementation of ToTemporalDuration() operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JSTemporalDurationObjectprotected JSTemporalDurationObjecttoTemporalDuration(Object item, ToTemporalDurationRecordNode toTemporalDurationRecord, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
ToTemporalDurationNode
protected ToTemporalDurationNode()
-
-
Method Details
-
execute
-
toTemporalDuration
protected JSTemporalDurationObject toTemporalDuration(Object item, ToTemporalDurationRecordNode toTemporalDurationRecord, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-