![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Directive to specify additional ROS2 packages that this LF program depends on. More...
Inherits org.lflang.target.property.TargetProperty< List< String >, ArrayType >.
Public Member Functions | |
| Optional< Element > | astElementFromConfig (TargetConfig config) |
| boolean | checkType (KeyValuePair pair, MessageReporter reporter) |
| If the given key-value pair does not match the type required by this target property, report an error through the given reporter. | |
| boolean | equals (Object obj) |
| Return true if the given object is an instance of a class with the same name. | |
| List< String > | fromAst (Element node, MessageReporter reporter) |
| int | hashCode () |
| List< String > | initialValue () |
| boolean | loadFromFederate () |
| Return true if this property is to be loaded from imported federates, false otherwise. | |
| boolean | loadFromFederation () |
| Return true if this property is to be loaded by federates when specified at the level of the federation, false otherwise. | |
| boolean | loadFromImport () |
| Return true if this property is to be loaded from imported files, false otherwise. | |
| String | name () |
| final void | override (TargetConfig config, T value) |
| Replace the value assigned to this target property in the given config with the given value. | |
| Element | toAstElement (List< String > value) |
| abstract Element | toAstElement (T value) |
| Return an AST node that represents this target property and the value currently assigned to it. | |
| String | toString () |
| void | update (TargetConfig config, T value) |
| Update the given configuration using the given value. | |
| void | validate (TargetConfig config, MessageReporter reporter) |
Public Attributes | |
| final S | type |
| The type of values assignable to this target property. | |
Static Public Attributes | |
| static final Ros2DependenciesProperty | INSTANCE = new Ros2DependenciesProperty() |
| Singleton target property instance. | |
Protected Member Functions | |
| T | fromJSON (JsonElement element, MessageReporter reporter) |
| Return a value based on the given JSON element. | |
| List< String > | fromString (String string, MessageReporter reporter) |
Directive to specify additional ROS2 packages that this LF program depends on.
|
inherited |
|
inherited |
If the given key-value pair does not match the type required by this target property, report an error through the given reporter.
| pair | The ast node that matches this target property. |
| reporter | The reporter to issue an error through if the given key-value pair does not match the type required by this property. |
|
inherited |
Return true if the given object is an instance of a class with the same name.
| obj | The object to compare this instance to. |
| List< String > org.lflang.target.property.Ros2DependenciesProperty.fromAst | ( | Element | node, |
| MessageReporter | reporter ) |
|
protectedinherited |
Return a value based on the given JSON element.
| element | The JSON element to produce a value from/ |
| reporter | A message reporter for reporting issues. |
|
protected |
|
inherited |
| List< String > org.lflang.target.property.Ros2DependenciesProperty.initialValue | ( | ) |
|
inherited |
Return true if this property is to be loaded from imported federates, false otherwise.
|
inherited |
Return true if this property is to be loaded by federates when specified at the level of the federation, false otherwise.
|
inherited |
Return true if this property is to be loaded from imported files, false otherwise.
| String org.lflang.target.property.Ros2DependenciesProperty.name | ( | ) |
|
inherited |
Replace the value assigned to this target property in the given config with the given value.
| config | The configuration to change. |
| value | The new value to assign. |
| Element org.lflang.target.property.Ros2DependenciesProperty.toAstElement | ( | List< String > | value | ) |
|
abstractinherited |
Return an AST node that represents this target property and the value currently assigned to it.
|
inherited |
|
inherited |
Update the given configuration using the given value.
The default implementation simply assigns the given value, overriding whatever value might have been assigned before.
| config | The configuration to update. |
| value | The value to perform the update with. |
| void org.lflang.target.property.Ros2DependenciesProperty.validate | ( | TargetConfig | config, |
| MessageReporter | reporter ) |
|
static |
Singleton target property instance.
|
inherited |
The type of values assignable to this target property.