Skip to content

Latest commit

 

History

History
49 lines (44 loc) · 1.41 KB

definitions-for-the-grammar-summary.md

File metadata and controls

49 lines (44 loc) · 1.41 KB
title Definitions for the Grammar Summary | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
devlang-cpp
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
C
helpviewer_keywords
preprocessor, definitions
preprocessor
ms.assetid cc752dc8-6f4e-4347-a556-e0d9ef4c46bd
caps.latest.revision 6
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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++)