![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Note: this is a copy of a file generated by XText. More...
Inherits IInjectorProvider.
Public Member Functions | |
| Injector | getInjector () |
Protected Member Functions | |
| LFRuntimeModule | createRuntimeModule () |
| Injector | internalCreateInjector () |
Protected Attributes | |
| volatile Injector | injector |
Note: this is a copy of a file generated by XText.
The main modification is to make this a Singleton. This is because XText initialization relies on global static fields, and concurrent test class initialization may not work properly. This modified version also does not implement IRegistryConfigurator, which would have cleaned up the registry in a non-deterministic way. The global XText state is thus shared by all concurrent tests and initialized exactly once.
|
protected |
| Injector org.lflang.tests.LFInjectorProvider.getInjector | ( | ) |
|
protected |
|
protected |