Class TemporalYearMonthFromFieldsNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.temporal.TemporalYearMonthFromFieldsNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Implementation of the Temporal yearMonthFromFields() 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 JSTemporalPlainYearMonthObjectexecute(CalendarMethodsRecord calendarRec, JSDynamicObject fields, JSDynamicObject options) protected JSTemporalPlainYearMonthObjectyearMonthFromFields(CalendarMethodsRecord calendarRec, JSDynamicObject fields, JSDynamicObject options, ToTemporalCalendarObjectNode toCalendar, 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
-
TemporalYearMonthFromFieldsNode
protected TemporalYearMonthFromFieldsNode()
-
-
Method Details
-
execute
public abstract JSTemporalPlainYearMonthObject execute(CalendarMethodsRecord calendarRec, JSDynamicObject fields, JSDynamicObject options) -
yearMonthFromFields
protected JSTemporalPlainYearMonthObject yearMonthFromFields(CalendarMethodsRecord calendarRec, JSDynamicObject fields, JSDynamicObject options, ToTemporalCalendarObjectNode toCalendar, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-