about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-xml.exp
blob: 20099326cc96d36682b711869f8b2e1b14049c66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version='1.0' encoding='utf-8'?>
<expr>
  <attrs>
    <attr name="a">
      <string value="foo" />
    </attr>
    <attr name="at">
      <function>
        <attrspat name="args">
          <attr name="x" />
          <attr name="y" />
          <attr name="z" />
        </attrspat>
      </function>
    </attr>
    <attr name="b">
      <string value="bar" />
    </attr>
    <attr name="c">
      <string value="foobar" />
    </attr>
    <attr name="ellipsis">
      <function>
        <attrspat ellipsis="1">
          <attr name="x" />
          <attr name="y" />
          <attr name="z" />
        </attrspat>
      </function>
    </attr>
    <attr name="f">
      <function>
        <attrspat>
          <attr name="x" />
          <attr name="y" />
          <attr name="z" />
        </attrspat>
      </function>
    </attr>
    <attr name="id">
      <function>
        <varpat name="x" />
      </function>
    </attr>
    <attr name="x">
      <int value="123" />
    </attr>
    <attr name="y">
      <float value="567.89" />
    </attr>
  </attrs>
</expr>