Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Declarations

Declarations bind a name in the form of an identifier to various entities and may appear at the beginning of any scope including the main scope.

Declarations may be created for

All of the names defined in a given scope are available to other declarations defined in the same scope (as well as containing scopes) independent of the order of declaration, i.e., a declaration may forward-reference another declaration that is defined in the same scope.

A declaration may override another declaration of the same name in a parent scope, but declarations in the same scope with the same name conflict and result in an error.