Conventions

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The conventions use different font attributes for different components of the syntax. The symbols and fonts are as follows:

AttributeDescription
nonterminalItalic type indicates nonterminals.
#includeTerminals in bold type are literal reserved words and symbols that must be entered as shown. Characters in this context are always case sensitive.
optNonterminals followed by opt are always optional.
default typefaceCharacters in the set described or listed in this typeface can be used as terminals in statements.

A colon (:) following a nonterminal introduces its definition. Alternative definitions are listed on separate lines.

Grammar Summary (C/C++)

Show: