diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-04-12 19:10:11 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:24:16 +0200 |
commit | 38054ce4d3d6a4bc3a372ebdef0d556449f3ae1f (patch) | |
tree | 3fbf510482c262e45e5b1e1a41a8ef11abe083c2 /testdata/integration/user_defined_syntax/ontologies/wikilike.osml | |
parent | d1d72640e677812bd02c8b94a2ac827022efc40b (diff) |
Move test ontologies to seperate folder
Diffstat (limited to 'testdata/integration/user_defined_syntax/ontologies/wikilike.osml')
-rw-r--r-- | testdata/integration/user_defined_syntax/ontologies/wikilike.osml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testdata/integration/user_defined_syntax/ontologies/wikilike.osml b/testdata/integration/user_defined_syntax/ontologies/wikilike.osml new file mode 100644 index 0000000..694b8ee --- /dev/null +++ b/testdata/integration/user_defined_syntax/ontologies/wikilike.osml @@ -0,0 +1,37 @@ +\ontology#book{ + \struct#book[root=true] + \field + \childRef[ref=section] + \childRef[ref=paragraph] + \struct#section + \primitive#title[type=string,subtree=true] + \syntax + \open{==} + \close{==} + \field + \childRef[ref=paragraph] + \struct#paragraph[transparent=true] + \syntax + \close{\paragraph} + \field + \childRef[ref=text] + \childRef[ref=code] + \childRef[ref=speech] + \childRef[ref=thought] + \struct#code + \syntax + \open{`} + \close{`} + \field + \childRef[ref=text] + \struct#speech + \syntax + \open{<<} + \close{>>} + \fieldRef[ref=paragraph.$default] + \struct#text[transparent=true] + \primitive[type=string] + \struct#thought + \syntax + \short{--} +} |