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(com.oracle.truffle.api.strings.TruffleString calendar, JSDynamicObject fields, TemporalUtil.Overflow overflow) protected JSTemporalPlainYearMonthObjectyearMonthFromFields(com.oracle.truffle.api.strings.TruffleString calendar, JSDynamicObject fields, TemporalUtil.Overflow overflow, JSToIntegerOrInfinityNode toIntegerOrInfinity, PropertySetNode setDay, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) 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
-
TemporalYearMonthFromFieldsNode
protected TemporalYearMonthFromFieldsNode()
-
-
Method Details
-
execute
public abstract JSTemporalPlainYearMonthObject execute(com.oracle.truffle.api.strings.TruffleString calendar, JSDynamicObject fields, TemporalUtil.Overflow overflow) -
yearMonthFromFields
protected JSTemporalPlainYearMonthObject yearMonthFromFields(com.oracle.truffle.api.strings.TruffleString calendar, JSDynamicObject fields, TemporalUtil.Overflow overflow, JSToIntegerOrInfinityNode toIntegerOrInfinity, PropertySetNode setDay, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-