Projectstable
Define Function
Define Function (function_implement) is a Project node. Semantics: function.implement. Ports and options below are generated from the syntax registry.
Overview
- Kind id
- function_implement
- Semantics
- function.implement
- Source
- CORE_NODE_REGISTRY
Detailed guidance for this kind is still being written. Ports and options below come from the syntax registry.
Ports
| Id | Dir | Type | Label |
|---|---|---|---|
| exec_in | in | execution | - |
| exec_out | out | execution | - |
Options
| Id | Type | Default | Notes |
|---|---|---|---|
| symbolId | string | - | |
| name | string | Function | - |
| role | enum | function | enum: function, constructor, destructor |
| isVirtual | boolean | false | - |
| isOverride | boolean | false | - |
| isGenerator | boolean | false | Marks the function as a generator. Python def is enough; yield in the body also makes it a generator. |
| graphTabId | string | - |