diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-6FA036F6-F4C7-50CA-B08F-7D5F8B7FB6B5.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-6FA036F6-F4C7-50CA-B08F-7D5F8B7FB6B5.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,66 @@ + + + + + +BNF +GrammarsBackus-Naur Form (BNF) grammars are used as a tool for describing +language and command syntax, for example: +

select-statement : SELECT select-list FROM table-name [ restriction ] [ ordering ]

+

restriction : WHERE search-condition

+

ordering : ORDER BY sort-order

+

A BNF definition states that the named item given before the colon is written +as described after the colon. For example, an ordering is written as ORDER +BY followed by a sort-order (which may be defined elsewhere).

+ + + + +

BNF expression

+

What it means

+
+ +

named-construction : expression

+

Declares that a named-construction is written as expression.

+
+ +

named-construction : expression1 expression2

+

Declares that a named-construction is written as either expression1 or expression2.

+
+ +

word

+

The word word, written literally.

+
+ +

exp1 exp2

+

exp1 followed by exp2.

+
+ +

[exp]

+

exp is optional.

+
+ +

[ exp1 | exp2 ]

+

Either exp1 or exp2 or nothing.

+
+ +

<exp>

+

exp is an entity or name that you specify.

+
+ +

exp +

+

expression, repeated one or more times.

+
+ +

exp *

+

expression, repeated zero, one or more times.

+
+ + +
\ No newline at end of file