functionsetExtendsModifierValue
Sets a modifier on an element in an extends clause in a class.
Information
Example:
package P
model M
extends A.B(a = 1.0, x(z = 2.0));
end M;
end P;
setExtendsModifierValue(P.M, A.B, x.y, $Code((start = 3.0))) =>
package P
model M
extends A.B(a = 1.0, x(z = 2.0, y(start = 3.0)));
end M;
end P;
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| TypeName | className | ||
| TypeName | extendsName | ||
| TypeName | elementName | ||
| ExpressionOrModification | modifier |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | success |