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, CalendarMethodsRecord calendarRec, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, JSDynamicObject options, 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, CalendarMethodsRecord calendarRec, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, JSDynamicObject options) 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
-
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, CalendarMethodsRecord calendarRec, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, JSDynamicObject options) -
addDateTime
protected JSTemporalDateTimeRecord addDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, double nanosecond, CalendarMethodsRecord calendarRec, double years, double months, double weeks, double days, BigInt normalizedTimeDuration, JSDynamicObject options, TemporalAddDateNode addDateNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-