Statements
A valid OQL construct is composed of a sequence of statements. Main of
the statements are expression statements.
A statement can be one of the following:
- an expression statement,
- a selection statement, if/else,
- an iteration statement, while, do/while, for,
- a function definition statement, function
- a jump statement, break, return
- a compound statement,
- an empty statement.
The OQL expression sub-grammar is very close from the C grammar. The
OQL grammar for the flow controls statement - if/else,
while, do/while, for - is identical to the C
grammar. The common operators of OQL and C have the same associativity
and precedence.
EyeDB manual