public abstract class JSStringListFromIterableNode extends JavaScriptBaseNode
Throws TypeError if a non-string value is encountered.
| Modifier | Constructor and Description |
|---|---|
protected |
JSStringListFromIterableNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static JSStringListFromIterableNode |
create(JSContext context) |
protected List<String> |
doUndefined(Object value) |
abstract List<String> |
executeIterable(Object value) |
protected static List<String> |
stringToList(Object s) |
protected static List<String> |
toArray(com.oracle.truffle.api.object.DynamicObject iterable,
GetIteratorNode getIteratorNode,
IteratorStepNode iteratorStepNode,
IteratorValueNode iteratorValueNode,
IteratorCloseNode iteratorCloseNode) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected final JSContext context
protected JSStringListFromIterableNode(JSContext context)
public static JSStringListFromIterableNode create(JSContext context)
protected static List<String> toArray(com.oracle.truffle.api.object.DynamicObject iterable, GetIteratorNode getIteratorNode, IteratorStepNode iteratorStepNode, IteratorValueNode iteratorValueNode, IteratorCloseNode iteratorCloseNode)