![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Classes that realize the code generator. More...
Classes | |
| class | org.lflang.generator.Argument< T > |
| A record that ties a target property to a value obtained as a parameter to a compilation run. More... | |
| class | org.lflang.generator.c.CActionGenerator |
| Generates code for actions (logical or physical) for the C and CCpp target. More... | |
| class | org.lflang.generator.c.CCmakeGenerator |
| A helper class that generates a CMakefile that can be used to compile the generated C code. More... | |
| class | org.lflang.generator.c.CCompiler |
| Responsible for creating and executing the necessary CMake command to compile code that is generated by the CGenerator. More... | |
| class | org.lflang.generator.c.CConstructorGenerator |
| Generates C constructor code for a reactor. More... | |
| class | org.lflang.generator.c.CCoreFilesUtils |
| Generates the list of files to be included in the core library for each reactor given conditions listed as arguments of each function. More... | |
| class | org.lflang.generator.c.CDelayBodyGenerator |
| Generate code for the bodies of the reactions involved in connections with the 'after' keyword. More... | |
| class | org.lflang.generator.c.CEnclavedReactorTransformation |
| The AST transformation enabling enclaved execution in the C target. More... | |
| class | org.lflang.generator.c.CEnclaveGenerator |
| This class is in charge of code generating functions and global variables related to the enclaves and environments. More... | |
| class | org.lflang.generator.c.CEnclaveGraph |
| This class contains the enclave connection graph. More... | |
| class | org.lflang.generator.c.CEnclaveInstance |
| An CEnclaveInstance object is associated with each enclave. More... | |
| class | org.lflang.generator.c.CFileConfig |
| The file configuration for the C target. More... | |
| class | org.lflang.generator.c.CMainFunctionGenerator |
| Generate the code that is the entry point of the program. More... | |
| class | org.lflang.generator.c.CMethodGenerator |
| Collection of functions to generate C code to declare methods. More... | |
| class | org.lflang.generator.c.CMixedRadixGenerator |
| Names for the variables used to index into the mixed-radix array. More... | |
| class | org.lflang.generator.c.CModesGenerator |
| Generates C code to support modal models. More... | |
| class | org.lflang.generator.c.CParameterGenerator |
| Generates C code to declare and initialize parameters. More... | |
| class | org.lflang.generator.c.CPortGenerator |
| Generates C code to declare and initialize ports. More... | |
| class | org.lflang.generator.c.CPreambleGenerator |
| Generates code for preambles for the C and CCpp target. More... | |
| class | org.lflang.generator.c.CReactionGenerator |
| Generate code for reactions. More... | |
| class | org.lflang.generator.c.CReactorHeaderFileGenerator |
| Generate user-visible header files. More... | |
| class | org.lflang.generator.c.CStateGenerator |
| Generate code for state variables. More... | |
| class | org.lflang.generator.c.CTimerGenerator |
| Generates C code to declare and initialize timers. More... | |
| class | org.lflang.generator.c.CTracingGenerator |
| Generates C code to support tracing. More... | |
| class | org.lflang.generator.c.CTriggerObjectsGenerator |
| Generate code for the "_lf_initialize_trigger_objects" function. More... | |
| class | org.lflang.generator.c.CTypes |
| C-specific type information. More... | |
| class | org.lflang.generator.c.CUtil |
| A collection of utilities for C code generation. More... | |
| class | org.lflang.generator.c.CWatchdogGenerator |
| Generate C code for watchdogs. More... | |
| class | org.lflang.generator.c.InteractingContainedReactors |
| Helper class to handle code generation of contained reactors. More... | |
| class | org.lflang.generator.c.TypeParameterizedReactor |
| A reactor class combined with concrete type arguments bound to its type parameters. More... | |
| interface | org.lflang.generator.DelayBodyGenerator |
| Interface for generating code for the body of reactions that handle connections with logical delays specified with the after keyword. More... | |
| class | org.lflang.generator.GenerationException |
| An exception that occurred during code generation. More... | |
| class | org.lflang.generator.GeneratorBase |
| Generator base class for specifying core functionality that all code generators should have. More... | |
| class | org.lflang.generator.GeneratorCommandFactory |
| A factory class responsible for creating commands for use by the LF code generators. More... | |
| class | org.lflang.generator.GeneratorResult |
| The result of a code generation task. More... | |
| class | org.lflang.generator.GeneratorUtils |
| A helper class with functions that may be useful for code generators. More... | |
| interface | org.lflang.generator.LfExpressionVisitor< P, R > |
| A visitor for expressions in LF. More... | |
| class | org.lflang.generator.LFGenerator |
| Generates code from your model files on save. More... | |
| class | org.lflang.generator.python.PyFileConfig |
| Python file configuration. More... | |
| class | org.lflang.generator.python.PythonActionGenerator |
| Generate code for Python actions. More... | |
| class | org.lflang.generator.python.PythonDelayBodyGenerator |
| Generate code for the bodies of reactions that handle connections with logical delays specified with the after keyword. More... | |
| class | org.lflang.generator.python.PythonGenerator |
| Generator for Python target. More... | |
| class | org.lflang.generator.python.PythonMainFunctionGenerator |
| Responsible for creating the main function for the generated Python target programs. More... | |
| class | org.lflang.generator.python.PythonMethodGenerator |
| Collection of functions to generate Python code to declare methods. More... | |
| class | org.lflang.generator.python.PythonModeGenerator |
| Helper class to handle modes in Python programs. More... | |
| class | org.lflang.generator.python.PythonParameterGenerator |
| Generate Python code for parameters. More... | |
| class | org.lflang.generator.python.PythonPortGenerator |
| Generate Python code for ports. More... | |
| class | org.lflang.generator.python.PythonPreambleGenerator |
| Generate user-defined preambles and #define and #include directives for the Python target. More... | |
| class | org.lflang.generator.python.PythonReactionGenerator |
| Generate Python code for reactions. More... | |
| class | org.lflang.generator.python.PythonReactorGenerator |
| Generate Python code for reactors. More... | |
| class | org.lflang.generator.python.PythonStateGenerator |
| Generate Python code for state variables. More... | |
| class | org.lflang.generator.python.PythonTypes |
| Python-specific type information. More... | |
| class | org.lflang.generator.python.PythonValidator |
| A validator for generated Python code. More... | |
| class | org.lflang.generator.python.PyUtil |
| A collection of utilities for Python code generation. More... | |
| class | org.lflang.generator.rust.CargoDependencySpec |
| Info about a cargo dependency. More... | |
| interface | org.lflang.generator.TargetTypes |
| Information about the types of a target language. More... | |
| class | org.lflang.generator.ts.TSTypes |
| Type information for the Typescript target. More... | |
| enum | org.lflang.target.Target |
| Enumeration of targets and their associated properties. More... | |
Functions | |
| record | org.lflang.generator.GeneratorArguments (boolean clean, URI externalRuntimeUri, boolean hierarchicalBin, JsonObject jsonObject, boolean lint, boolean quiet, URI rti, List< Argument<?> > overrides) |
| Arguments to be passed to a code generator. | |
Classes that realize the code generator.
| record org.lflang.generator.GeneratorArguments | ( | boolean | clean, |
| URI | externalRuntimeUri, | ||
| boolean | hierarchicalBin, | ||
| JsonObject | jsonObject, | ||
| boolean | lint, | ||
| boolean | quiet, | ||
| URI | rti, | ||
| List< Argument<?> > | overrides ) |
import "GeneratorArguments.java"
Arguments to be passed to a code generator.
| clean | Whether to clean before building. |
| externalRuntimeUri | FIXME: change type of org.lflang.target.property.ExternalRuntimePathProperty to URI |
| hierarchicalBin | Whether the bin directory should have a flat or hierarchical organization. |
| jsonObject | Generator arguments and target properties in JSON format. |
| lint | For enabling or disabling the linting of generated code. |
| quiet | Whether to suppress output of the target compiler and other commands. |
| rti | The location of the rti. |
| overrides | List of arguments that are meant to override target properties |
Return a record with none of the arguments set.