The >>— symbol indicates the beginning of a statement.
The –> symbol indicates that the statement syntax is continued on the next line.
The >– symbol indicates that a statement is continued from the previous line.
The –>< symbol indicates the end of a statement.
Diagrams of syntactical units other than complete statements start with the |-- symbol and end with the --| symbol.
>>-RequiredItem------------------------------------------------><
>>-RequiredItem--+--------------+------------------------------>< '-OptionalItem-'
If an optional item appears above the main path, that item has no effect on the execution of the statement and is used only for readability.
.-OptionalItem-. >>-RequiredItem--+--------------+------------------------------><
If you must choose one of the items, one item of the stack appears on the main path.
>>-RequiredItem--+-RequiredChoice1-+--------------------------->< '-RequiredChoice2-'
If choosing one of the items is optional, the entire stack appears below the main path.
>>-RequiredItem--+-----------------+--------------------------->< +-OptionalChoice1-+ '-OptionalChoice2-'
If one of the items is the default, it appears above the main path and the remaining choices are shown below.
.-DefaultChoice--. >>-RequiredItem--+----------------+---------------------------->< +-OptionalChoice-+ '-OptionalChoice-'
.----------------. V | >>-RequiredItem----RepeatableItem-+----------------------------><
If the repeat arrow contains a comma, you must separate repeated items with a comma.
.-,--------------. V | >>-RequiredItem----RepeatableItem-+----------------------------><
A repeat arrow above a stack indicates that you can repeat the items in the stack.
>>-RequiredItem--| Fragment Name |----------------------------->< Fragment Name |--RequiredItem--+--------------+-------------------------------| '-OptionalName-'