@@ -101,10 +101,11 @@ The block and program information described by the user is saved in Fluid in [pr
...
@@ -101,10 +101,11 @@ The block and program information described by the user is saved in Fluid in [pr
`BlockDesc` contains the definition of the local variables `vars`, and a series of operators `ops`:
`BlockDesc` contains the definition of the local variables `vars`, and a series of operators `ops`:
```cpp
```cpp
messageBlockDesc{
messageBlockDesc{
requiredint32parent=1;
requiredint32idx=1;
repeatedVarDescvars=2;
requiredint32parent_idx=2;
repeatedOpDescops=3;
repeatedVarDescvars=3;
repeatedOpDescops=4;
}
}
```
```
The parent ID represents the parent block, so the operators in the block can not only reference local variables, but also reference variables defined in the ancestor block.
The parent ID represents the parent block, so the operators in the block can not only reference local variables, but also reference variables defined in the ancestor block.