Package nzdis . lang . oql ;
Helpers
tab | = | 9 |
cr | = | 13 |
lf | = | 10 |
eol | = | [ [ cr + lf ] + [ cr + lf ] ] |
white | = | [ [ ' ' + tab ] + eol ] |
letter | = | [ [ 'A' .. 'Z' ] + [ 'a' .. 'z' ] ] |
digit | = | [ '0' .. '9' ] |
normal | = | [ [ digit + '_' ] + letter ] |
special_character | = | [ [ [ '?' + '_' ] + [ '*' + '%' ] ] + '\' ] |
character | = | [ [ letter + digit ] + special_character ] |
arrow | = | '->' |
binor | = | '||' |
bracket_l | = | '(' |
bracket_r | = | ')' |
colon | = | ':' |
comma | = | ',' |
divide | = | '/' |
dollar | = | '$' |
dotdot | = | '..' |
dot | = | '.' |
eq | = | '=' |
ge | = | '>=' |
gt | = | '>' |
le | = | '<=' |
lt | = | '<' |
minus | = | '-' |
ne | = | '!=' |
plus | = | '+' |
quote | = | ''' |
semicolon | = | ';' |
sq_bracket_l | = | '[' |
sq_bracket_r | = | ']' |
star | = | '*' |
abs | = | 'abs' |
all | = | 'all' |
andthen | = | 'andthen' |
and | = | 'and' |
any | = | 'any' |
array | = | 'array' |
avg | = | 'avg' |
as | = | 'as' |
asc | = | 'asc' |
bag | = | 'bag' |
boolean | = | 'boolean' |
by | = | 'by' |
char | = | 'char' |
count | = | 'count' |
date | = | 'date' |
define | = | 'define' |
desc | = | 'desc' |
dictionary | = | 'dictionary' |
distinct | = | 'distinct' |
double | = | 'double' |
element | = | 'element' |
enum | = | 'enum' |
exists | = | 'exists' |
except | = | 'except' |
false | = | 'false' |
first | = | 'first' |
float | = | 'float' |
flatten | = | 'flatten' |
for | = | 'for' |
from | = | 'from' |
group | = | 'group' |
having | = | 'having' |
import | = | 'import' |
intersect | = | 'intersect' |
interval | = | 'interval' |
in | = | 'in' |
is_defined | = | 'is_defined' |
is_undefined | = | 'is_undefined' |
last | = | 'last' |
listtoset | = | 'listtoset' |
list | = | 'list' |
like | = | 'like' |
long | = | 'long' |
max | = | 'max' |
mod | = | 'mod' |
min | = | 'min' |
nil | = | 'nil' |
not | = | 'not' |
octet | = | 'octet' |
order | = | 'order' |
orelse | = | 'orelse' |
or | = | 'or' |
tquery | = | 'query' |
select | = | 'select' |
set | = | 'set' |
some | = | 'some' |
short | = | 'short' |
string | = | 'string' |
struct | = | 'struct' |
sum | = | 'sum' |
timestamp | = | 'timestamp' |
time | = | 'time' |
true | = | 'true' |
undefined | = | 'undefined' |
undefine | = | 'undefine' |
union | = | 'union' |
unique | = | 'unique' |
unsigned | = | 'unsigned' |
where | = | 'where' |
Tokens
Ignored Tokens
Productions
This site has been last updated by the web master
on 2007/6/24.