A.3 Syntax Notation

In the syntax notation used in this manual, syntactic categories are indicated by italic type, and literal words and characters in typewriter style. Alternative categories are usually listed on separate lines; in a few cases, a long set of narrow alternatives is presented on one line, marked by the phrase "one of." An optional terminal or nonterminal symbol carries the subscript "opt," so that, for example,

{ expressionopt }

means an optional expression, enclosed in braces. The syntax is summarized in Par.A.13.

TCPL/A.03_Syntax_Notation (2008-02-23 15:37:02由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.