mirror of
https://github.com/servo/servo.git
synced 2025-07-06 15:03:40 +01:00
46 lines
1.1 KiB
XML
46 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
|
|
<Definitions>
|
|
<webidl>interface A {
|
|
};
|
|
interface B {
|
|
};
|
|
interface C {
|
|
void f(<ref>A</ref>? x);
|
|
void f(<ref>B</ref>? x);
|
|
|
|
};</webidl>
|
|
<Interface name="A" id="::A">
|
|
<webidl>interface A {
|
|
};</webidl>
|
|
</Interface>
|
|
<Interface name="B" id="::B">
|
|
<webidl>interface B {
|
|
};</webidl>
|
|
</Interface>
|
|
<Interface name="C" id="::C">
|
|
<webidl>interface C {
|
|
void f(<ref>A</ref>? x);
|
|
void f(<ref>B</ref>? x);
|
|
|
|
};</webidl>
|
|
<Operation name="f" id="::C::f">
|
|
<webidl> void f(<ref>A</ref>? x);</webidl>
|
|
<Type type="void"/>
|
|
<ArgumentList>
|
|
<Argument name="x">
|
|
<Type name="A" nullable="nullable"/>
|
|
</Argument>
|
|
</ArgumentList>
|
|
</Operation>
|
|
<Operation name="f" id="::C::f">
|
|
<webidl> void f(<ref>B</ref>? x);</webidl>
|
|
<Type type="void"/>
|
|
<ArgumentList>
|
|
<Argument name="x">
|
|
<Type name="B" nullable="nullable"/>
|
|
</Argument>
|
|
</ArgumentList>
|
|
</Operation>
|
|
</Interface>
|
|
</Definitions>
|