Skip to content

Commit

Permalink
Migrate 'element' to index
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 10, 2020
1 parent 666c259 commit 44197a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 5 additions & 2 deletions chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,11 @@ \section{Class Declarations}\label{class-declarations}
\end{lstlisting}
\end{example}

The following is the formal syntax of class definitions, including the
special variants described in later sections.
The following is the formal syntax of class definitions, including the special variants described in later sections.

An \firstuse{element}\index{element} is part of a class definition, and is one of: class definition, component declaration, or extends clause.
Component declarations and class definitions are called \firstuse{named elements}\index{named elements}.
An element is either inherited from a base class or local.

\begin{lstlisting}[language=grammar]
class-definition :
Expand Down
5 changes: 0 additions & 5 deletions chapters/glossary.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
\chapter{Glossary}\label{glossary}

\glossaryitem{element}: part of a class definition, one of: class definition,
component declaration, or extends clause. Component declarations and
class definitions are called named elements. An element is either
inherited from a base class or local.

\glossaryitem{element modification}: part of a modification, overrides the
declaration equation in the class used by the instance generated by the
modified element. Example: \lstinline!vcc(unit="V")=1000!. (See \cref{modifications}.)
Expand Down

0 comments on commit 44197a7

Please sign in to comment.