.OpenModelica.Scripting.setExtendsModifierValue

Information

Sets a modifier on an extends clause in a class definition, for 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;

Interface

function setExtendsModifierValue
  input TypeName className;
  input TypeName extendsName;
  input TypeName elementName;
  input ExpressionOrModification modifier;
  output Boolean success;
end setExtendsModifierValue;

Generated at 2024-06-21T18:16:23Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos