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

Binds services that are available both when running LFC standalone, and when running within the IDE. More...

Inherits AbstractLFRuntimeModule.

Public Member Functions

Class<? extends MessageReporterbindErrorReporter ()
 The error reporter.
Class<? extends IDefaultResourceDescriptionStrategy > bindIDefaultResourceDescriptionStrategy ()
 Establish a binding to our custom resource description strategy.
Class<? extends IFormatter2 > bindIFormatter2 ()
Class<? extends IGlobalScopeProvider > bindIGlobalScopeProvider ()
 Establish a binding to our custom global scope provider.
Class<? extends ISyntaxErrorMessageProvider > bindISyntaxErrorMessageProvider ()
Class<? extends INamesAreUniqueValidationHelper > bindNamesAreUniqueValidationHelper ()
 Establish a binding to a helper that checks that names are unique.

Detailed Description

Binds services that are available both when running LFC standalone, and when running within the IDE.

LfIdeModule overrides this module with additional bindings when running in the IDE. org.lflang.lfc.LFStandaloneModule overrides this module when running LFC standalone.

Member Function Documentation

◆ bindErrorReporter()

Class<? extends MessageReporter > org.lflang.LFRuntimeModule.bindErrorReporter ( )

The error reporter.

org.lflang.lfc.LFStandaloneModule overrides this binding.

◆ bindIDefaultResourceDescriptionStrategy()

Class<? extends IDefaultResourceDescriptionStrategy > org.lflang.LFRuntimeModule.bindIDefaultResourceDescriptionStrategy ( )

Establish a binding to our custom resource description strategy.

◆ bindIFormatter2()

Class<? extends IFormatter2 > org.lflang.LFRuntimeModule.bindIFormatter2 ( )

◆ bindIGlobalScopeProvider()

Class<? extends IGlobalScopeProvider > org.lflang.LFRuntimeModule.bindIGlobalScopeProvider ( )

Establish a binding to our custom global scope provider.

◆ bindISyntaxErrorMessageProvider()

Class<? extends ISyntaxErrorMessageProvider > org.lflang.LFRuntimeModule.bindISyntaxErrorMessageProvider ( )

◆ bindNamesAreUniqueValidationHelper()

Class<? extends INamesAreUniqueValidationHelper > org.lflang.LFRuntimeModule.bindNamesAreUniqueValidationHelper ( )

Establish a binding to a helper that checks that names are unique.


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