Class GetDurationUnitOptionsNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.intl.GetDurationUnitOptionsNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
Nested Class Summary
Nested ClassesNested 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 -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetDurationUnitOptionsNode(JSContext context, GetDurationUnitOptionsNode.Unit unit, List<String> styleList, String digitalBase) -
Method Summary
Modifier and TypeMethodDescriptionstatic GetDurationUnitOptionsNodecreate(JSContext context, GetDurationUnitOptionsNode.Unit unit, List<String> styleList, String digitalBase) executeOptions(Object options, String baseStyle, String prevStyle, boolean twoDigitHours) getOptions(Object options, String baseStyle, String prevStyle, boolean twoDigitHours) 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
-
Field Details
-
LONG_SHORT_NARROW_STYLES
-
LONG_SHORT_NARROW_NUMERIC_STYLES
-
LONG_SHORT_NARROW_NUMERIC_2DIGIT_STYLES
-
-
Constructor Details
-
GetDurationUnitOptionsNode
protected GetDurationUnitOptionsNode(JSContext context, GetDurationUnitOptionsNode.Unit unit, List<String> styleList, String digitalBase)
-
-
Method Details
-
create
public static GetDurationUnitOptionsNode create(JSContext context, GetDurationUnitOptionsNode.Unit unit, List<String> styleList, String digitalBase) -
executeOptions
-
getOptions
-