Skip to content

Commit

Permalink
Use \lstinline for 'ExternalObject'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Aug 4, 2020
1 parent c0a3b01 commit 471b6f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ \subsubsection{Declaration Equations}\label{declaration-equations}
component. For declarations of vectors and matrices, declaration
equations are associated with each element.

Only components of the restricted classes type, record, operator record, and connector, or components of classes inheriting from ExternalObject
Only components of the restricted classes type, record, operator record, and connector, or components of classes inheriting from \lstinline!ExternalObject!
may have declaration equations. See also the corresponding rule for algorithms, \cref{restrictions-on-assigned-variables}.

\subsubsection{Prefix Rules}\label{prefix-rules}
Expand All @@ -230,9 +230,8 @@ \subsubsection{Prefix Rules}\label{prefix-rules}
applied to the elements of the component and is allowed even if the
elements have input or output prefix.

In addition, instances of classes extending from ExternalObject may have
type prefixes \lstinline!parameter! and \lstinline!constant!, and in functions also type
prefixes \lstinline!input! and \lstinline!output! - see \cref{external-objects}.
In addition, instances of classes extending from \lstinline!ExternalObject! may have type prefixes \lstinline!parameter! and \lstinline!constant!, and in functions also type prefixes
\lstinline!input! and \lstinline!output! - see \cref{external-objects}.

The type prefixes \lstinline!flow!, \lstinline!stream!, \lstinline!input!
and \lstinline!output! of a structured
Expand Down
7 changes: 3 additions & 4 deletions chapters/revisions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ \subsection{Main changes in Modelica 3.4}\label{main-changes-in-modelica-3-4}
Additional functions give parameter expression, \cref{parameter-expressions}. Ticket
\href{https://github.com/modelica/ModelicaSpecification/issues/1082}{\#1082}.
\item
Clarified ExternalObject, \cref{prefix-rules}. Ticket
\href{https://github.com/modelica/ModelicaSpecification/issues/1546}{\#1546}.
Clarified \lstinline!ExternalObject!, \cref{prefix-rules}.
Ticket \href{https://github.com/modelica/ModelicaSpecification/issues/1546}{\#1546}.
\item
Simplified rules type prefixes for structured components, \cref{prefix-rules}. Ticket
\href{https://github.com/modelica/ModelicaSpecification/issues/1686}{\#1686}.
Expand Down Expand Up @@ -715,8 +715,7 @@ \subsection{Main changes in Modelica 3.3}\label{main-changes-in-modelica-3-3}
Functions can be marked as pure or impure with specified semantics,
\cref{pure-modelica-functions}.
\item
The rules for ExternalObject have been clarified, \cref{external-objects} and
\cref{interface-or-type-relationships}.
The rules for \lstinline!ExternalObject! have been clarified, \cref{external-objects} and \cref{interface-or-type-relationships}.
\item
Multiple definition import, \cref{importing-definitions-from-a-package}.
\item
Expand Down

0 comments on commit 471b6f5

Please sign in to comment.