lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.generator.Argument< T > Class Template Reference

A record that ties a target property to a value obtained as a parameter to a compilation run. More...

Public Member Functions

 Argument (TargetProperty< T, ?> property, T value)
void update (TargetConfig config, MessageReporter reporter)
 Update the target configuration if the value of this argument is not null.

Detailed Description

A record that ties a target property to a value obtained as a parameter to a compilation run.

Parameters
propertyA target property.
valueThe value to assign to it.
Author
Marten Lohstroh

Constructor & Destructor Documentation

◆ Argument()

org.lflang.generator.Argument< T >.Argument ( TargetProperty< T, ?> property,
T value )

Member Function Documentation

◆ update()

void org.lflang.generator.Argument< T >.update ( TargetConfig config,
MessageReporter reporter )

Update the target configuration if the value of this argument is not null.

Parameters
configThe target configuration to update.
reporterAn error reporter to report the use of unsupported target properties.

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