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

Utility class that can be used to create a launcher for federated LF programs that are written in TypeScript. More...

Inherits org.lflang.federated.launcher.BuildConfig.

Public Member Functions

String compileCommand ()
 Return the compile command for the federate that this build configuration belongs to.
String localExecuteCommand ()
 Return the command that will execute the federate that this build configuration belongs to locally, assuming that the current directory is the top-level project folder.
 TsBuildConfig (FederateInstance federate, FederationFileConfig fileConfig, MessageReporter messageReporter)

Protected Attributes

final FederateInstance federate
 The federate that this configuration applies to.
final FederationFileConfig fileConfig
 The file configuration of the federation that the federate belongs to.
final MessageReporter messageReporter
 An error reporter to report problems.

Detailed Description

Utility class that can be used to create a launcher for federated LF programs that are written in TypeScript.

Author
Soroush Bateni
Hokeun Kim
Marten Lohstroh

Constructor & Destructor Documentation

◆ TsBuildConfig()

org.lflang.federated.launcher.TsBuildConfig.TsBuildConfig ( FederateInstance federate,
FederationFileConfig fileConfig,
MessageReporter messageReporter )

Member Function Documentation

◆ compileCommand()

String org.lflang.federated.launcher.TsBuildConfig.compileCommand ( )

Return the compile command for the federate that this build configuration belongs to.

Reimplemented from org.lflang.federated.launcher.BuildConfig.

◆ localExecuteCommand()

String org.lflang.federated.launcher.TsBuildConfig.localExecuteCommand ( )

Return the command that will execute the federate that this build configuration belongs to locally, assuming that the current directory is the top-level project folder.

Reimplemented from org.lflang.federated.launcher.BuildConfig.

Member Data Documentation

◆ federate

final FederateInstance org.lflang.federated.launcher.BuildConfig.federate
protectedinherited

The federate that this configuration applies to.

◆ fileConfig

final FederationFileConfig org.lflang.federated.launcher.BuildConfig.fileConfig
protectedinherited

The file configuration of the federation that the federate belongs to.

◆ messageReporter

final MessageReporter org.lflang.federated.launcher.BuildConfig.messageReporter
protectedinherited

An error reporter to report problems.


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