public abstract class GetStringOptionNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
GetStringOptionNode(JSContext context,
com.oracle.truffle.api.strings.TruffleString property,
String[] values,
String fallback) |
| Modifier and Type | Method and Description |
|---|---|
static GetStringOptionNode |
create(JSContext context,
com.oracle.truffle.api.strings.TruffleString property,
String[] values,
String fallback) |
abstract String |
executeValue(Object options) |
String |
getOption(Object options) |
protected String |
makeFinalSelection(String value) |
protected com.oracle.truffle.api.strings.TruffleString |
toOptionType(Object propertyValue) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static GetStringOptionNode create(JSContext context, com.oracle.truffle.api.strings.TruffleString property, String[] values, String fallback)
protected com.oracle.truffle.api.strings.TruffleString toOptionType(Object propertyValue)