diff options
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/osmlparser/syntax_description.osml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testdata/osmlparser/syntax_description.osml b/testdata/osmlparser/syntax_description.osml new file mode 100644 index 0000000..f374f73 --- /dev/null +++ b/testdata/osmlparser/syntax_description.osml @@ -0,0 +1,23 @@ +\ontology#a{ + \struct#b{ + \primitive#f1[subtree=true,type=string]{ + \syntax{ + \open{=} + \close{\newline} + \whitespace{preserve} + } + } + \field#f2{ + \syntax{ + \open{++} + \close{--} + \whitespace{collapse} + } + \childRef[ref=b] + } + \syntax{ + \short{~} + } + } +} + |