Use the following description to read the syntax diagrams in this document:
The >>—- symbol indicates the beginning of a syntax diagram.
The —-> symbol indicates that the syntax diagram is continued on the next line.
The >—- symbol indicates that the syntax diagram is continued from the previous line.
The —->< symbol indicates the end of a syntax diagram.
Diagrams of syntactical units other than complete statements start with the >—- symbol and end with the —-> symbol.
Format >>-STATEMENT--required item------------------------------------><
Format >>-STATEMENT--+---------------+-------------------------------->< '-optional item-'
If you must choose one of the items, one item of the stack appears on the main path.
Format >>-STATEMENT--+-required choice 1-+---------------------------->< '-required choice 2-'
If choosing one of the items is optional, the entire stack appears below the main path.
Format >>-STATEMENT--+-------------------+---------------------------->< +-optional choice 1-+ '-optional choice 2-'
Format .-----------------. V | >>-STATEMENT----repeatable item-+------------------------------><
A repeat arrow above a stack indicates that you can make more than one choice from the stacked items, or repeat a single choice.
The following example shows how the syntax is used.
Format (1) (2) >>-STATEMENT-------+-identifier-1------+------------------------> '-literal-1---------' .---------------------. V | >----+-----------------+-+--------------------------------------> | (3) | '-| item 1 |------' .------------------------------------. V (4) | >----TO--identifier-3--+---------+------+-----------------------> '-ROUNDED-' (5) >--+--------------------------------------------+---------------> '-+----+--SIZE ERROR--imperative-statement-1-' '-ON-' >--+--------------------+-------------------------------------->< | (6) | '-END-STATEMENT------' item 1: |--+-identifier-2------------+----------------------------------| +-literal-2---------------+ '-arithmetic-expression-1-'