Syntax diagrams
The following rules apply to syntax diagrams:
- Read the syntax diagrams from left to right, from top to bottom, following the path of
the line.
- The following symbols are used in the syntax diagrams:
>>- Indicates the beginning of a statement
-> Indicates that the statement is continued on the next line
>- Indicates that the statement is continued from the previous line
->< Indicates the end of the statement
- Diagrams of syntactical unit other than complete statements start with |-
and end with -|.
- Required items are on the main path.
>>-required-item---------------------><
- Optional items are below the main path.
>>-required-item--+----------------+-----><
'-optional-item--'
- Choice items are in a stack. If they are required, they are on the main path; if they
are optional, they are below the main path.
>>-required-item--+-required-choice1-+--+------------------+--><
'-required-choice2-' +-optional-choice1-+
'-optional-choice2-'
- The default item of a choice is above the main path.
.-default-optional-choice-.
>>-required-item--+-------------------------+--><
+-optional-choice1--------+
'-optional-choice2--------'
- Repeating items have an arrow return to the left above the main line.
- Keywords are in lowercase. Each must be spelt as shown.
- Variables are in mixed-case (e.g. InterfaceTypeList). Each represents a
user-supplied name or value.
- Inclusive punctuation are part of the syntax statement.
