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 |
|---|---|
protected List<String> |
doUndefined(Object value) |
abstract List<String> |
executeIterable(Object value) |
protected static List<String> |
stringToList(com.oracle.truffle.api.strings.TruffleString s) |
protected static List<String> |
toArray(Object iterable,
com.oracle.truffle.api.nodes.Node node,
GetIteratorNode getIteratorNode,
IteratorStepNode iteratorStepNode,
IteratorValueNode iteratorValueNode,
IteratorCloseNode iteratorCloseNode) |
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, toStringprotected final JSContext context
protected JSStringListFromIterableNode(JSContext context)
protected static List<String> stringToList(com.oracle.truffle.api.strings.TruffleString s)
protected static List<String> toArray(Object iterable, com.oracle.truffle.api.nodes.Node node, GetIteratorNode getIteratorNode, IteratorStepNode iteratorStepNode, IteratorValueNode iteratorValueNode, IteratorCloseNode iteratorCloseNode)