[F] addVisibilityModifiers
Add visibility modifiers to a property.
This function will add all the modifiers
to the active set of visibility modifiers for the given property
.
If no set of active modifiers exists for the given property
, an empty set will be created for the property.
If the visibility modifiers for property
in the given modifier’s visibility class have been sealed, this function
will issue a diagnostic and ignore that modifier, but it will still add the rest of the modifiers whose classes have
not been sealed.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | the program in which the ModelProperty occurs |
property | ModelProperty | the property to add visibility modifiers to |
modifiers | EnumMember [] | the visibility modifiers to add |
context ? | DecoratorContext | the optional decorator context to use for displaying diagnostics |
Returns
void