Native Valuesregistry-listed
Native Collection
Construct a native collection from ordered visible operands.
Registry listing does not certify support for every language or host environment. Check the selected target’s diagnostics and generated output.
Overview
- Kind id
- expr_native_collection
- Semantics
- expr.native
- Source
- CORE_NODE_REGISTRY
When to use
Choose the language and form, set the operand count, and wire values in evaluation order. Objects and dicts receive visible entry or spread nodes.
Graph to code example
An object uses a named entry, computed entry or spread. An array hole owns its comma; it is distinct from null.
Watch for
Entry, spread and hole forms need a compatible direct collection owner. The current budget is 32 operands.
Ports
| Id | Dir | Type | Label |
|---|---|---|---|
| result | out | data_any | Value |
Options
| Id | Type | Default | Notes |
|---|---|---|---|
| nativeLanguage | enum | javascript | - · enum: javascript, python, go |
| nativeForm | enum | array | - · enum: array, object, list, tuple, set, dict, named-entry, quoted-entry, computed-entry, dict-entry, shorthand-entry, spread, dict-spread, hole |
| operandCount | number | 0 | - |
| memberName | string | value | - |