From 8064d931e8ed98fd3698ef345706f75ab90f5cd5 Mon Sep 17 00:00:00 2001 From: Peter Aronsson Date: Thu, 30 May 2002 14:38:42 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@804 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- modeq/explode.rml | 2 ++ modeq/interactive_api.txt | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/modeq/explode.rml b/modeq/explode.rml index e5bcc6a6a09..8ea84f36991 100644 --- a/modeq/explode.rml +++ b/modeq/explode.rml @@ -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 *) @@ -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 diff --git a/modeq/interactive_api.txt b/modeq/interactive_api.txt index 9ca762fdc91..c0fbb4392e0 100644 --- a/modeq/interactive_api.txt +++ b/modeq/interactive_api.txt @@ -76,6 +76,15 @@ getNthConnectionAnnotation(,) annotation as comma separated list of values of a flattened record, see Annotation below. +addConnection(,,, annotate=) + Adds connection connect(A0,A1) + to model A2, with annotation + given by the named argument + annotate. + +updateConnection(,,, annotate=) + Updates an allready existing connection + getConnectorCount() Returns the number of connectors of a class.