-
Notifications
You must be signed in to change notification settings - Fork 120
/
const-to-dataized.yaml
21 lines (21 loc) 路 1.02 KB
/
const-to-dataized.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
tests:
- //o[@base='.as-bytes' and @line and @pos and @name='x' and o[@base='org.eolang.dataized' and o[@base='org.eolang.int' and not(@name)]]]
- //o[@base='.as-bytes' and @line and @pos and @name='m' and o[@base='org.eolang.dataized' and o[@abstract and @name='m-3' and count(o)=2]]]
- //o[@base='.as-bytes' and @line and @pos and @name='z' and o[@base='org.eolang.dataized' and o[@base='.o' and not(@name) and count(o)=1]]]
- //o[@base='.as-bytes' and @line and @pos and @name='y' and o[@base='org.eolang.dataized' and o[@base='org.eolang.c' and not(@name)]]]
- //objects[count(//o[@const])=0]
eo: |
# This is the default 64+ symbols comment in front of abstract object.
[] > foo
int > x!
# This is the default 64+ symbols comment in front of named abstract object.
[] > m!
a
b
c 1 2 > y!
.o > z!
# This is the default 64+ symbols comment in front of named abstract object.
[] > m-1
# This is the default 64+ symbols comment in front of named abstract object.
[] > m-2