Skip to content

Commit

Permalink
Change 'special class function type' -> 'specialized class function'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 6, 2023
1 parent 87fe161 commit 292c7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ \subsubsection{Prefix Rules}\label{prefix-rules}
Type prefixes (that is, \lstinline!flow!, \lstinline!stream!, \lstinline!discrete!, \lstinline!parameter!, \lstinline!constant!, \lstinline!input!, \lstinline!output!) shall only be applied for type, record, operator record, and connector components -- see also record specialized class, \cref{specialized-classes}.
This is further restricted below; some of these combinations of type prefixes and specialized classes are not legal.

An exception is \lstinline!input! for components whose type is of the special class function type (these can only be used for function formal parameters and has special semantics, see \cref{functional-input-arguments-to-functions}).
An exception is \lstinline!input! for components whose type is of the specialized class \lstinline!function! (these can only be used for function formal parameters and has special semantics, see \cref{functional-input-arguments-to-functions}).
In this case, the \lstinline!input! prefix is not applied to the elements of the component, and the prefix is allowed even if the elements of the component have \lstinline!input! or \lstinline!output! prefix.

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}.
Expand Down

0 comments on commit 292c7bd

Please sign in to comment.