Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@804 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed May 30, 2002
1 parent 159fe65 commit 8064d93
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modeq/explode.rml
Expand Up @@ -70,6 +70,7 @@ module SCode :
| DERIVED of Path
* Absyn.ArrayDim option
* Mod
| ENUMERATION of Ident list

(** The major difference between these types and their `Absyn' *)
(** counterparts is that the `PARTS' constructor contains separate *)
Expand Down Expand Up @@ -192,6 +193,7 @@ relation elab_classdef: Absyn.ClassDef => ClassDef =
-------------------------------------
elab_classdef (Absyn.PARTS(parts)) => PARTS(els,eqs,als)

axiom elab_classdef(Absyn.ENUMERATION(lst)) => ENUMERATION(lst)
end


Expand Down
9 changes: 9 additions & 0 deletions modeq/interactive_api.txt
Expand Up @@ -76,6 +76,15 @@ getNthConnectionAnnotation(<cref>,<int>)
annotation as comma separated
list of values of a flattened
record, see Annotation below.
addConnection(<cref>,<cref>,<cref>, annotate=<expr>)
Adds connection connect(A0,A1)
to model A2, with annotation
given by the named argument
annotate.

updateConnection(<cref>,<cref>,<cref>, annotate=<expr>)
Updates an allready existing connection


getConnectorCount(<cref>) Returns the number of
connectors of a class.
Expand Down

0 comments on commit 8064d93

Please sign in to comment.