Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions definitions/standard/data_type/node/runnable.proto.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"variant": "NODE",
"identifier": "RUNNABLE",
"name": [
{
"code": "en-US",
"content": "Node"
}
],
"rules": [],
"genericKeys": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@
16.10.2025

## Renamed
break -> stop
break -> stop

01.11.2025

## Added
- if
- if-else
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"runtimeName": "std::control::if",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "BOOLEAN"
},
"runtimeName": "condition",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Condition"
}
],
"description": [
{
"code": "en-US",
"content": "Boolean condition to evaluate."
}
],
"documentation": [
{
"code": "en-US",
"content": "Specifies the condition that determines whether the provided runnable should be executed. If this condition evaluates to true, the execution proceeds with the runnable defined in the second parameter."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "RUNNABLE"
},
"runtimeName": "then_runnable",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Then Runnable"
}
],
"description": [
{
"code": "en-US",
"content": "Runnable to execute when the condition is true."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the runnable that runs if the condition evaluates to true."
}
]
}
],
"returnTypeIdentifier": null,
"throwsError": false,
"genericKeys": [],
"name": [
{
"code": "en-US",
"content": "If"
}
],
"description": [
{
"code": "en-US",
"content": "Executes the specified runnable if the condition evaluates to true."
}
],
"documentation": [
{
"code": "en-US",
"content": "The 'If' runnable evaluates a boolean condition and, if it is true, executes the provided runnable. If the condition is false, execution continues without running the runnable. This behavior corresponds to a standard 'if' statement in programming languages."
}
],
"deprecationMessage": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"runtimeName": "std::control::if_else",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "BOOLEAN"
},
"runtimeName": "condition",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Condition"
}
],
"description": [
{
"code": "en-US",
"content": "Boolean condition to evaluate."
}
],
"documentation": [
{
"code": "en-US",
"content": "Determines which branch to execute. If true the Then Runnable runs otherwise the Else Runnable runs."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "RUNNABLE"
},
"runtimeName": "then_runnable",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Then Runnable"
}
],
"description": [
{
"code": "en-US",
"content": "Runnable to execute when the condition is true."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the runnable that runs if the condition evaluates to true."
}
]
},
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "RUNNABLE"
},
"runtimeName": "else_runnable",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Else Runnable"
}
],
"description": [
{
"code": "en-US",
"content": "Runnable to execute when the condition is false."
}
],
"documentation": [
{
"code": "en-US",
"content": "Defines the runnable that runs if the condition evaluates to false."
}
]
}
],
"returnTypeIdentifier": null,
"throwsError": false,
"genericKeys": [],
"name": [
{
"code": "en-US",
"content": "If-Else"
}
],
"description": [
{
"code": "en-US",
"content": "Evaluates a condition and executes either the Then Runnable or the Else Runnable."
}
],
"documentation": [
{
"code": "en-US",
"content": "Evaluates a boolean condition. If true, executes the Then Runnable; otherwise, executes the Else Runnable. Mirrors a standard 'if/else' control structure in programming languages."
}
],
"deprecationMessage": []
}