Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1017 Bytes

definitions-for-the-grammar-summary.md

File metadata and controls

21 lines (14 loc) · 1017 Bytes
title Definitions for the grammar summary
ms.date 08/29/2019
helpviewer_keywords
preprocessor, definitions
preprocessor
ms.assetid cc752dc8-6f4e-4347-a556-e0d9ef4c46bd

Definitions for the grammar summary

Terminals are endpoints in a syntax definition. No other resolution is possible. Terminals include the set of reserved words and user-defined identifiers.

Nonterminals are placeholders in the syntax. Most are defined elsewhere in this syntax summary. Definitions can be recursive. The following nonterminals are defined in the Lexical Conventions section of the C++ Language Reference:

constant, constant-expression, identifier, keyword, operator, punctuator

An optional component is indicated by the subscripted opt. For example, the following indicates an optional expression enclosed in curly braces:

{ expressionopt }

See also

Grammar summary (C/C++)