summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/widlproc/test/valid/xml/namespaceobject.widlprocxml
blob: af0cde937199642e543d1d30d266975416438651 (plain)
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
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
  <Module name="acme" id="::acme">
    <webidl>[NamespaceObject]
module acme {
  
  exception DeviceException { };

  module pim {

    [Constructor]
    interface Contact { };

    [Constructor,
     NamedConstructor=RecurringEvent(long freq)]
    interface CalendarEvent { };
  };
};</webidl>
    <ExtendedAttributeList>
      <ExtendedAttribute name="NamespaceObject"/>
    </ExtendedAttributeList>
    <Exception name="DeviceException" id="::acme::DeviceException">
      <webidl>  exception DeviceException { };</webidl>
    </Exception>
    <Module name="pim" id="::acme::pim">
      <webidl>  module pim {

    [Constructor]
    interface Contact { };

    [Constructor,
     NamedConstructor=RecurringEvent(long freq)]
    interface CalendarEvent { };
  };</webidl>
      <Interface name="Contact" id="::acme::pim::Contact">
        <webidl>    [Constructor]
    interface Contact { };</webidl>
        <ExtendedAttributeList>
          <ExtendedAttribute name="Constructor"/>
        </ExtendedAttributeList>
      </Interface>
      <Interface name="CalendarEvent" id="::acme::pim::CalendarEvent">
        <webidl>    [Constructor,
     NamedConstructor=RecurringEvent(long freq)]
    interface CalendarEvent { };</webidl>
        <ExtendedAttributeList>
          <ExtendedAttribute name="Constructor"/>
          <ExtendedAttribute name="NamedConstructor" value="RecurringEvent">
            <ArgumentList>
              <Argument name="freq">
                <Type type="long"/>
              </Argument>
            </ArgumentList>
          </ExtendedAttribute>
        </ExtendedAttributeList>
      </Interface>
    </Module>
  </Module>
</Definitions>