Skip to content

Commit

Permalink
TranslationToEvaluable
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jun 8, 2023
1 parent fddd17e commit eacde12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/scoping.tex
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ \subsection{Composite Name Lookup}\label{composite-name-lookup}
If the first identifier denotes a component, the rest of the name (e.g., \lstinline!B! or \lstinline!B.C!) is looked up among the declared named component elements of the component.
\item
If not found, and if the first identifier denotes a component and the composite name is used as a function call, the lookup is also performed among the declared elements of the component, and must find a non-operator function.
Each leading element, including the first one, must in this case be a scalar component, or \lstinline!component[j]! where \lstinline!component! is an array of components and the indices \lstinline!j! can be evaluated at translation time and \lstinline!component[j]! is a scalar.
Each leading element, including the first one, must in this case be a scalar component, or \lstinline!component[j]! where \lstinline!component! is an array of components and the indices \lstinline!j! are evaluable expressions and \lstinline!component[j]! is a scalar.
All identifiers of the rest of the name (e.g., \lstinline!B! and \lstinline!B.C!) must be classes.
That is, the composite name is comprised of one or more component names (optionally with indexing), followed by one or more class names.
\item
Expand Down

0 comments on commit eacde12

Please sign in to comment.