OntoDL Syntax: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Syntax == <hr><font face="courier"> {|border="0" | ''OntoDL'' | := | ''MsWordParagraph'' * |- | ''DefinitionBody'' | := | '''{''' ''FullDefinition'…“)
 
(Syntax)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
 
== Syntax ==
 
== Syntax ==
 
<hr><font face="courier">
 
<hr><font face="courier">
{|border="0"
+
{|border="0"  
| ''OntoDL''  
+
|- style="vertical-align:top"
 +
| style="width:10em" | ''OntoDL''
 +
| style="width:3em"  | :=
 +
| style="width:10em" | ''MsWordParagraph'' *
 +
| style="width:10em" | &nbsp;
 +
|                      <font face="arial" size="2">root element for any MS Word Document that shall be processed by the OntoDL interpreter </font>
 +
|- style="vertical-align:top"
 +
| ''MsWordParagraph''  
 
| :=  
 
| :=  
| ''MsWordParagraph'' *
+
| ''OntoDlStatement''
|-
+
|  
| ''DefinitionBody''  
+
| <font face="arial" size="2">must be either formatted using (1) style sheet "OntoDL", (2) any style sheet starting with "OntoDL." (3) any style sheet that is registered with OntoDL using an ''OntoDL Directive''.</font> 
| :=  
+
|- style="vertical-align:top"
| '''&#123;''' ''FullDefinition''* '''&#125;'''
 
|-
 
 
|
 
|
 
| style="text-align:right" | &#124;
 
| style="text-align:right" | &#124;
| '''=''' [[OntoDL Syntax: QualifiedObject|''QualifiedObject'']]
+
| ''OntoDLDirective''
|-
+
|
 +
| <font face="arial" size="2">must be formatted using style sheet "OntoDL"</font>
 +
|- style="vertical-align:top"
 
|
 
|
 
| style="text-align:right" | &#124;
 
| style="text-align:right" | &#124;
| '''=''' [[OntoDL Syntax: InternalReference|''InternalReference'']]  
+
| any MS Word Text
 +
|
 +
| <font face="arial" size="2">any MS Word text that is formatted by a style sheet that is not registered with OntoDL is ignored by the OntoDL interpreter</font>
 +
|- style="vertical-align:top"
 +
| ''OntoDlStatement''
 +
| :=
 +
| [[OntoDL Statement: define|''DefineStatement'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Statement: default|''DefaultStatement'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Statement: set|''SetStatement'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
| ''OntoDlDirective''
 +
| :=
 +
| [[OntoDL Style Sheet Directive: OntoDL.StyleName|''OntoDL.StyleName'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Style Sheet Directive: heading|''HeadingDirective'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Style Sheet Directive: pattern|''PatternDirective'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Style Sheet Directive: obligation|''ObligationDirective'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Style Sheet Directive: table|''TableDirective'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Tokenizer Directive: goto|''GotoDirective'']]
 +
|
 +
|
 +
|- style="vertical-align:top"
 +
|
 +
| style="text-align:right" | &#124;
 +
| [[OntoDL Tokenizer Directive: package|''PackageDirective'']]
 +
|
 +
|
 
|}
 
|}
 
</font>
 
</font>
 
<hr>
 
<hr>

Aktuelle Version vom 21. September 2016, 09:03 Uhr

Syntax


OntoDL := MsWordParagraph *   root element for any MS Word Document that shall be processed by the OntoDL interpreter
MsWordParagraph := OntoDlStatement must be either formatted using (1) style sheet "OntoDL", (2) any style sheet starting with "OntoDL." (3) any style sheet that is registered with OntoDL using an OntoDL Directive.
| OntoDLDirective must be formatted using style sheet "OntoDL"
| any MS Word Text any MS Word text that is formatted by a style sheet that is not registered with OntoDL is ignored by the OntoDL interpreter
OntoDlStatement := DefineStatement
| DefaultStatement
| SetStatement
OntoDlDirective := OntoDL.StyleName
| HeadingDirective
| PatternDirective
| ObligationDirective
| TableDirective
| GotoDirective
| PackageDirective