Mercurial > pub > Impl
comparison Schema/form.def @ 0:03e58a454b20
Создан репозитарий
author | Sergey |
---|---|
date | Tue, 14 Jul 2009 12:54:37 +0400 |
parents | |
children | 16ada169ca75 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:03e58a454b20 |
---|---|
1 syntax ::= {{_include|_use}|container}[ {{_include|_use}|container} ...] | |
2 | |
3 name ::=<\w>+ | |
4 | |
5 file_name ::=<\w./>+ | |
6 | |
7 mod_name ::= <\w>+[::<\w>+...] | |
8 | |
9 _include ::= include file_name ; | |
10 | |
11 _use ::= use alias mod_name ; | |
12 | |
13 alias ::= <\w>+ | |
14 | |
15 type ::=<\w>+ | |
16 | |
17 multi ::=* | |
18 | |
19 container ::=type [multi] name[ : expression [, expression ...]] [body]; | |
20 | |
21 instance ::= name[ ( expression [, expression ...])] | |
22 | |
23 string ::=[{<^\\">+|<\\><\w\W>}...] | |
24 | |
25 number ::=[{+|-}] <0-9>+[.<0-9>+[e[-]<0-9>+]] | |
26 | |
27 bin_op ::={+|-|&|<|>|=} | |
28 | |
29 un_op ::=! | |
30 | |
31 expression ::= {"string"|number|instance|(expression)|{"string"|number|instance|(expression)} bin_op expression|un_op expression} | |
32 | |
33 body ::= <{> | |
34 [{body_property|container} ...] | |
35 <}> | |
36 | |
37 complex_name ::= <\w>+[.<\w>+...] | |
38 | |
39 body_property ::= complex_name = expression; |