Class TemporalAddDateTimeNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.temporal.TemporalAddDateTimeNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Implementation of the Temporal AddDateTime 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 TypeMethodDescriptionprotected JSTemporalDateTimeRecordaddDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, double nanosecond, com.oracle.truffle.api.strings.TruffleString calendar, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, TemporalUtil.Overflow overflow, TemporalAddDateNode addDateNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) abstract JSTemporalDateTimeRecordexecute(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, double nanosecond, com.oracle.truffle.api.strings.TruffleString calendar, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, TemporalUtil.Overflow overflow) Methods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods 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, reportReplace, toString
-
Constructor Details
-
TemporalAddDateTimeNode
protected TemporalAddDateTimeNode()
-
-
Method Details
-
execute
public abstract JSTemporalDateTimeRecord execute(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, double nanosecond, com.oracle.truffle.api.strings.TruffleString calendar, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, TemporalUtil.Overflow overflow) -
addDateTime
protected JSTemporalDateTimeRecord addDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, double nanosecond, com.oracle.truffle.api.strings.TruffleString calendar, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, TemporalUtil.Overflow overflow, TemporalAddDateNode addDateNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-