|
UniSet 2.45.1
|
Статические открытые данные | |
| list | inputs [IRVariable] |
| list | outputs [IRVariable] |
| list | locals [IRVariable] |
| list | fb_instances [IRFBInstance] |
| list | body [IRStatement] |
| list | function_blocks [IRFunctionBlock] |
| list | globals = field(default_factory=list) |
| dict | gvl_field_map = field(default_factory=dict) |
| list | secondary_programs = field(default_factory=list) |
A PROGRAM declaration -- the top-level compilation unit. Contains the program's variables, FB instances, body statements, and any FUNCTION_BLOCK definitions found in the same source file. The main program (entry point for uniset_on_step) stores additional programs in `secondary_programs`. Each secondary PROGRAM is converted to a standalone JS function that can be called from the main program.