Class GetStringOptionNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.intl.GetStringOptionNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
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 -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetStringOptionNode(JSContext context, com.oracle.truffle.api.strings.TruffleString property, List<String> values, String fallback) -
Method Summary
Modifier and TypeMethodDescriptionstatic GetStringOptionNodecreate(JSContext context, com.oracle.truffle.api.strings.TruffleString property, List<String> values, String fallback) abstract StringexecuteValue(Object options) getOption(Object options, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode) 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
-
Field Details
-
LOCALE_MATCHER_OPTION_VALUES
-
HOUR_CYCLE_OPTION_VALUES
-
NARROW_SHORT_LONG_OPTION_VALUES
-
LONG_SHORT_NARROW_OPTION_VALUES
-
CASE_FIRST_OPTION_VALUES
-
-
Constructor Details
-
GetStringOptionNode
-
-
Method Details
-
executeValue
-
create
public static GetStringOptionNode create(JSContext context, com.oracle.truffle.api.strings.TruffleString property, List<String> values, String fallback) -
getOption
public String getOption(Object options, JSToStringNode toStringNode, com.oracle.truffle.api.strings.TruffleString.ToJavaStringNode toJavaStringNode)
-