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

Collection of functions to generate Python code to declare methods. More...

Static Public Member Functions

static String generateMethod (Method method)
 Generate a Python method definition for method.
static String generateMethods (Reactor reactor)
 Generate methods for a reactor class.

Detailed Description

Collection of functions to generate Python code to declare methods.

Author
Soroush Bateni

Member Function Documentation

◆ generateMethod()

String org.lflang.generator.python.PythonMethodGenerator.generateMethod ( Method method)
static

Generate a Python method definition for method.

◆ generateMethods()

String org.lflang.generator.python.PythonMethodGenerator.generateMethods ( Reactor reactor)
static

Generate methods for a reactor class.

Parameters
reactorThe reactor.

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/PythonMethodGenerator.java