summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/WebIDL/valid/xml/stringifier-custom.widlprocxml
blob: cdab1ccfc37c1a854ba9f19a4b064c41413c5206 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
  <webidl>[Constructor]
interface Student {
  attribute unsigned long id;
  attribute DOMString? familyName;
  attribute DOMString givenName;

  stringifier DOMString ();
};</webidl>
  <Interface name="Student" id="::Student">
    <webidl>[Constructor]
interface Student {
  attribute unsigned long id;
  attribute DOMString? familyName;
  attribute DOMString givenName;

  stringifier DOMString ();
};</webidl>
    <ExtendedAttributeList>
      <ExtendedAttribute name="Constructor">
        <webidl>Constructor</webidl>
      </ExtendedAttribute>
    </ExtendedAttributeList>
    <Attribute name="id" id="::Student::id">
      <webidl>  attribute unsigned long id;</webidl>
      <Type type="unsigned long"/>
    </Attribute>
    <Attribute name="familyName" id="::Student::familyName">
      <webidl>  attribute DOMString? familyName;</webidl>
      <Type type="DOMString" nullable="nullable"/>
    </Attribute>
    <Attribute name="givenName" id="::Student::givenName">
      <webidl>  attribute DOMString givenName;</webidl>
      <Type type="DOMString"/>
    </Attribute>
    <Operation stringifier="stringifier">
      <webidl>  stringifier DOMString ();</webidl>
      <Type type="DOMString"/>
      <ArgumentList/>
    </Operation>
  </Interface>
</Definitions>