Skip to content

Commit

Permalink
Missing one chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson authored and sjoelund committed Jun 4, 2019
1 parent 6aab90d commit 3325343
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions chapters/scoping.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ \subsection{Simple Name Lookup}\doublelabel{simple-name-lookup}

When an element, equation, or section is flattened, any simple name
{[}not composed using dot notation{]} is looked up sequentially in each
member of the ordered set \textbf{of instance scopes (see
member of the ordered set \textbf{of instance scopes (see
\autoref{the-class-tree}) corresponding to lexically enclosing classes} until a
match is found or an enclosing class is encapsulated. In the latter case
the lookup stops except for the predefined types, functions and
Expand Down Expand Up @@ -130,7 +130,7 @@ \subsection{Composite Name Lookup}\doublelabel{composite-name-lookup}

\subsection{Global Name Lookup}\doublelabel{global-name-lookup}

For a name starting with dot, e.g.: \lstinline!.A! {[}\emph{or} \lstinline!.A.B!\emph{,}
For a name starting with dot, e.g.: \lstinline!.A! {[}\emph{or} \lstinline!.A.B!\emph{,}
\lstinline!.A.B.C!
\emph{etc}.{]} lookup is performed as follows:

Expand All @@ -144,7 +144,7 @@ \subsection{Global Name Lookup}\doublelabel{global-name-lookup}
If the name is simple then the class A is the result of lookup.
\item
If the name is a composite name then the class A is temporarily
flattened with an empty environment (i.e. no modifiers, see
flattened with an empty environment (i.e. no modifiers, see
\autoref{modification-environment}) and using the enclosing classes of the denoted class. The rest
of the name [e.g., \lstinline!B! or \lstinline!B.C!] is looked up among the declared named
elements of the temporary flattened class. If the class does not
Expand All @@ -166,7 +166,7 @@ \section{Instance Hierarchy Name Lookup of Inner Declarations}\doublelabel{insta
with the same name but using the prefix \lstinline!inner! which is nearest in the
enclosing instance hierarchy of the \lstinline!outer! element declaration.

Outer component declarations may not have modifications {[}\emph{including binding equations}{]}.
Outer component declarations may not have modifications {[}\emph{including binding equations}{]}.
Outer class declarations should be defined using short-class
definitions without modifications. However, see also \autoref{simultaneous-inner-outer-declarations}.

Expand Down Expand Up @@ -513,8 +513,8 @@ \subsubsection{Steps of Instantiation}\doublelabel{steps-of-instantiation}
Equations, algorithms, and annotations of the class and the component
declaration are copied to the instance without merging. \emph{{[}The
annotations can be relevant for simulations, e.g. annotations for code
generation (\autoref{annotations-for-code-generation}.),
simulation experiments (\autoref{annotations-for-simulation-experiments})
generation (\autoref{annotations-for-code-generation}.),
simulation experiments (\autoref{annotations-for-simulation-experiments})
or functions(\autoref{declaring-derivatives-of-functions},\autoref{declaring-inverses-of-functions} and \autoref{external-function-interface}).{]}}

Extends clauses are not looked up, but empty extends clause nodes are
Expand Down Expand Up @@ -685,7 +685,7 @@ \subsection{Generation of the flat equation system}\doublelabel{generation-of-th
instance tree (see \autoref{instance-hierarchy-name-lookup-of-inner-declarations}). If the lookup has to look into a
class which is not instantiated yet [or only partially
instantiated], it is instantiated in place.]}

The flat equation system consists of a list of variables with
dimensions, flattened equations and algorithms, and a list of called
functions which are flattened separately. A flattened function consists
Expand Down Expand Up @@ -779,7 +779,7 @@ \subsection{Generation of the flat equation system}\doublelabel{generation-of-th
This leads to a flattened equation system, except for connect and
transition statements. These have to be transformed as described in
\autoref{connectors-and-connections} and \autoref{state-machines}. This may lead to further changes in the
instance tree \emph{{[}e.g. from expandable connectors \autoref{expandable-connectors}){]}}
instance tree \emph{{[}e.g. from expandable connectors \autoref{expandable-connectors}){]}}
and additional equations in the flattened equation
system \emph{{[}e.g. connect equations (\autoref{generation-of-connection-equations}), generated
equations for state machine semantics (\autoref{semantics-summary}){]}}.
Expand Down

0 comments on commit 3325343

Please sign in to comment.