![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
The result of a code generation task. More...
Classes | |
| enum | Status |
| A Status is a level of completion of a code generation task. More... | |
Public Member Functions | |
| GeneratorResult (Status status, LFGeneratorContext context, Map< Path, CodeMap > codeMaps) | |
| Initialize a GeneratorResult. | |
| Map< Path, CodeMap > | getCodeMaps () |
| Return a map from generated sources to their code maps. | |
| LFGeneratorContext | getContext () |
| Status | getStatus () |
| Return the status of this. | |
| String | getUserMessage () |
| Return a message that can be relayed to the end user about this GeneratorResult. | |
Static Public Attributes | |
| static GeneratorResult | CANCELLED = incompleteGeneratorResult(Status.CANCELLED) |
| static GeneratorResult | FAILED = incompleteGeneratorResult(Status.FAILED) |
| static BiFunction< LFGeneratorContext, Map< Path, CodeMap >, GeneratorResult > | GENERATED_NO_EXECUTABLE |
| static GeneratorResult | NOTHING = incompleteGeneratorResult(Status.NOTHING) |
The result of a code generation task.
| org.lflang.generator.GeneratorResult.GeneratorResult | ( | Status | status, |
| LFGeneratorContext | context, | ||
| Map< Path, CodeMap > | codeMaps ) |
Initialize a GeneratorResult.
| status | The level of completion of a code generation task. |
| context | The context within which the result was produced. |
| codeMaps | A mapping from generated files to their CodeMaps. |
| Map< Path, CodeMap > org.lflang.generator.GeneratorResult.getCodeMaps | ( | ) |
Return a map from generated sources to their code maps.
The completeness of this resulting map is given on a best-effort basis, but those mappings that it does contain are guaranteed to be correct.
| LFGeneratorContext org.lflang.generator.GeneratorResult.getContext | ( | ) |
| Status org.lflang.generator.GeneratorResult.getStatus | ( | ) |
Return the status of this.
| String org.lflang.generator.GeneratorResult.getUserMessage | ( | ) |
Return a message that can be relayed to the end user about this GeneratorResult.
|
static |
|
static |
|
static |
|
static |