lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.python.PythonModeGenerator Class Reference

Helper class to handle modes in Python programs. More...

Static Public Member Functions

static void generateResetReactionsIfNeeded (List< Reactor > reactors)
 Generate reset reactions in modes to reset state variables.

Detailed Description

Helper class to handle modes in Python programs.

Author
Soroush Bateni

Member Function Documentation

◆ generateResetReactionsIfNeeded()

void org.lflang.generator.python.PythonModeGenerator.generateResetReactionsIfNeeded ( List< Reactor > reactors)
static

Generate reset reactions in modes to reset state variables.

Parameters
reactorsA list of reactors in the program, some of which could contain modes.

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/python/PythonModeGenerator.java