Changes between Version 18 and Version 19 of NameSpaces
- Timestamp:
- 2017-09-11 21:05:22 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NameSpaces
v18 v19 10 10 To store namespaces we need a structure similar to that detailed below ... [wiki:NotationExplaination explaination of the notation] 11 11 12 == DATA DEFINITION ==12 == DATA DEFINITION ( .tdx ) == 13 13 {{{ 14 14 NAMESPACE $project:tdx - $system:lang // however $project is implied and not really needed … … 25 25 RETURN newNameSpace 26 26 } 27 28 SYNTAX 29 namespaceClause := "NAMESPACE" newNameSpaceClause { "-" { existingNameClause }+ }; 30 newNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }+ }; 31 existingNameClause := { "$" ident { ":" ident }* | ident { ":" ident }+ }; 27 32 }}} 28 33 34 == DATA DEFINITION ( .vdx ) == 35 === INFORMATION MODEL === 29 36 [[Image(namespace.png,width=98%)]] 30 31 32 == SYNTAX DEFINITION == 33 34 {{{#!div style="background: #ffd; border: 3px ridge" 35 namespaceClause := "NAMESPACE" newNameSpaceClause { "-" { existingNameSpaceClause }+ }; 37 === PROCEDURAL MODEL === 36 38 [[Image(namespaceClause.png,width=98%)]] 37 38 newNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }* };39 39 [[Image(newNamespaceClause.png,width=98%)]] 40 41 existingNameSpaceClause := { "$" ident { ":" ident }* | ident { ":" ident }* };[[BR]]42 40 [[Image(existingNamespaceClause.png,width=98%)]] 43 }}}