Skip to content

Commit

Permalink
FixClasses
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Dec 10, 2021
1 parent ebbb63c commit 650a526
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chapters/classes.tex
Expand Up @@ -71,7 +71,7 @@ \section{Double Declaration not Allowed}\label{double-declaration-not-allowed}
\end{lstlisting}
\end{example}

\section{Declaration Order and Usage before Declaration}\label{declaration-order-and-usage-before-declaration}
\section{Declaration Order - Usage before Declaration}\label{declaration-order-usage-before-declaration}\label{declaration-order-and-usage-before-declaration}

Variables and classes can be used before they are declared.

Expand Down Expand Up @@ -101,7 +101,7 @@ \section{Component Declarations}\label{component-declarations}
A \firstuse{component} or \firstuse{variable} is an instance (object) generated by a component declaration.
Special kinds of components are scalar, array, and attribute.

\subsection{Syntax and Examples of Component Declarations}\label{syntax-and-examples-of-component-declarations}
\subsection{Syntax of Component Declarations}\label{syntax-of-component-declarations}\label{syntax-and-examples-of-component-declarations}

The formal syntax of a component declaration clause is given by the following syntactic rules:
\begin{lstlisting}[language=grammar]
Expand Down Expand Up @@ -157,7 +157,7 @@ \subsection{Syntax and Examples of Component Declarations}\label{syntax-and-exam
\end{lstlisting}
\end{nonnormative}

\subsection{Component Declaration Static Semantics}\label{component-declaration-static-semantics}
\subsection{Static Semantics of Component Declaration}\label{static-semantics-of-component-declaration}\label{component-declaration-static-semantics}

If the \lstinline[language=grammar]!type-specifier! of the component declaration denotes a built-in type (\lstinline!RealType!, \lstinline!IntegerType!, etc.), the flattened or instantiated component has the same type.

Expand Down Expand Up @@ -1607,7 +1607,7 @@ \subsubsection{Attributes of Enumeration Types}\label{attributes-of-enumeration-
(\lstinline!quantity!, \lstinline!min!, \lstinline!max!, \lstinline!start!, \lstinline!fixed!) as enumeration literals.
\end{nonnormative}

\subsubsection{Type Conversion of Enumeration Values to String or Integer}\label{type-conversion-of-enumeration-values-to-string-or-integer}
\subsubsection{Enumeration Values Conversion to String or Integer}\label{enumeration-values-conversion-to-string-or-integer}\label{type-conversion-of-enumeration-values-to-string-or-integer}

% TODO: Can't have angle brackets and \emph in the same mathescape due to LaTeXML issue:
% - https://github.com/brucemiller/LaTeXML/issues/1477
Expand All @@ -1622,7 +1622,7 @@ \subsubsection{Type Conversion of Enumeration Values to String or Integer}\label

See also \cref{numeric-functions-and-conversion-functions}.

\subsubsection{Type Conversion of Integer to Enumeration Values}\label{type-conversion-of-integer-to-enumeration-values}
\subsubsection{Integer Conversion to Enumeration Value}\label{integer-conversion-to-enumeration-value}\label{type-conversion-of-integer-to-enumeration-values}

Whenever an enumeration type is defined, a type conversion function with
the same name and in the same scope as the enumeration type is
Expand Down

0 comments on commit 650a526

Please sign in to comment.