Class JSToCanonicalizedLocaleListNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.intl.JSToCanonicalizedLocaleListNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Implementation of ECMA intl402 9.2.1 "CanonicalizeLocaleList" as Truffle node.
https://tc39.github.io/ecma402/#sec-canonicalizelocalelist
-
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 TypeMethodDescriptioncreate()protected static String[]doForeignType(Object object, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.interop.InteropLibrary arrayInterop, com.oracle.truffle.api.interop.InteropLibrary valueInterop, ImportValueNode importValueNode, TypeOfNode typeOfNode, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) protected static String[]doLocale(JSLocaleObject object) protected static String[]doOtherType(Object object, com.oracle.truffle.api.nodes.Node node, JSToObjectNode toObjectNode, JSGetLengthNode getLengthNode, JSHasPropertyNode hasPropertyNode, TypeOfNode typeOfNode, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) protected static String[]doTString(com.oracle.truffle.api.strings.TruffleString s, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode) protected static String[]doUndefined(Object object) abstract String[]executeLanguageTags(Object value) 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
-
JSToCanonicalizedLocaleListNode
protected JSToCanonicalizedLocaleListNode()
-
-
Method Details
-
create
-
executeLanguageTags
-
doTString
protected static String[] doTString(com.oracle.truffle.api.strings.TruffleString s, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode) -
doUndefined
-
doLocale
-
doOtherType
protected static String[] doOtherType(Object object, com.oracle.truffle.api.nodes.Node node, JSToObjectNode toObjectNode, JSGetLengthNode getLengthNode, JSHasPropertyNode hasPropertyNode, TypeOfNode typeOfNode, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) -
doForeignType
protected static String[] doForeignType(Object object, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.interop.InteropLibrary arrayInterop, com.oracle.truffle.api.interop.InteropLibrary valueInterop, ImportValueNode importValueNode, TypeOfNode typeOfNode, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
-