![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Specification of the structure of an attribute annotation. More...
Classes | |
| enum | AttrParamType |
| The type of attribute parameters currently supported. More... | |
Public Member Functions | |
| AttributeSpec (List< AttrParamSpec > params) | |
| void | check (LFValidator validator, Attribute attr) |
| Check that the attribute conforms to this spec and whether attr has the correct name. | |
Static Public Attributes | |
| static final Map< String, AttributeSpec > | ATTRIBUTE_SPECS_BY_NAME = new HashMap<>() |
| A map from a string to a supported AttributeSpec. | |
| static final String | EACH_ATTR = "each" |
| static final String | OPTION_ATTR = "option" |
| static final String | VALUE_ATTR = "value" |
| static final String | WORKERS_ATTR = "workers" |
Package Functions | |
| record | AttrParamSpec (String name, AttrParamType type, boolean isOptional) |
| The specification of the attribute parameter. | |
Static Package Functions | |
| [static initializer] | |
Specification of the structure of an attribute annotation.
| org.lflang.validation.AttributeSpec.AttributeSpec | ( | List< AttrParamSpec > | params | ) |
|
staticpackage |
|
package |
The specification of the attribute parameter.
| name | The name of the attribute parameter |
| type | The type of the parameter |
| isOptional | True if the parameter is optional. |
| void org.lflang.validation.AttributeSpec.check | ( | LFValidator | validator, |
| Attribute | attr ) |
Check that the attribute conforms to this spec and whether attr has the correct name.
|
static |
A map from a string to a supported AttributeSpec.
|
static |
|
static |
|
static |
|
static |