Mercurial > pub > Impl
diff Schema/schema.def @ 49:16ada169ca75
migrating to the Eclipse IDE
author | wizard@linux-odin.local |
---|---|
date | Fri, 26 Feb 2010 10:49:21 +0300 |
parents | 03e58a454b20 |
children |
line wrap: on
line diff
--- a/Schema/schema.def Fri Feb 26 01:43:42 2010 +0300 +++ b/Schema/schema.def Fri Feb 26 10:49:21 2010 +0300 @@ -1,43 +1,43 @@ -syntax ::= header[ class ...] - -name ::= <\w>+ - -column_name ::= {<\w>+|<[><^[]>+<]>} - -type ::= name [<\<> template_list <\>>] - -type_definition ::= name [<\<> args_list <\>>] - -args_list ::= name [, name ...] - -db_type ::= <\w>+[(<\d>+[,<\d>+])] - -template_list ::= type[, type ...] - -mapping ::= column_name [as db_type] - -property ::= type name[ =<\>> mapping] - -comment ::= #<^\n>*<\n>[ #<^\n>*<\n>...] - -property_list ::= property ; [comment] [property ; [comment] ...] - -base_types ::= type [, type ...] - -value_type ::= value - -class ::= -[comment][value_type ]type_definition [: base_types] <{> - [comment] - [property_list] -<}> - -header_value ::= {*<^;>+ {;<\n>| header_value}|<^\n>+[;]} - -header_prop ::= name = header_value - -file_name ::=<\w./>+ - -include_item ::= include ( file_name )[;] - -header ::=[ {header_prop|include_item} ...] \ No newline at end of file +syntax ::= header[ class ...] + +name ::= <\w>+ + +column_name ::= {<\w>+|<[><^[]>+<]>} + +type ::= name [<\<> template_list <\>>] + +type_definition ::= name [<\<> args_list <\>>] + +args_list ::= name [, name ...] + +db_type ::= <\w>+[(<\d>+[,<\d>+])] + +template_list ::= type[, type ...] + +mapping ::= column_name [as db_type] + +property ::= type name[ =<\>> mapping] + +comment ::= #<^\n>*<\n>[ #<^\n>*<\n>...] + +property_list ::= property ; [comment] [property ; [comment] ...] + +base_types ::= type [, type ...] + +value_type ::= value + +class ::= +[comment][value_type ]type_definition [: base_types] <{> + [comment] + [property_list] +<}> + +header_value ::= {*<^;>+ {;<\n>| header_value}|<^\n>+[;]} + +header_prop ::= name = header_value + +file_name ::=<\w./>+ + +include_item ::= include ( file_name )[;] + +header ::=[ {header_prop|include_item} ...]