- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Dec 2009 11:43:19 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/test-spec
In directory hutz:/tmp/cvs-serv13467/test-spec
Modified Files:
webidl.html
Log Message:
support optional
Index: webidl.html
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/test-spec/webidl.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- webidl.html 2 Dec 2009 17:42:13 -0000 1.12
+++ webidl.html 3 Dec 2009 11:43:17 -0000 1.13
@@ -477,5 +477,27 @@
</dd>
</dl>
</section>
+
+ <section>
+ <h2>Optional parameters</h2>
+ <dl title='interface OptionalStuff' class='idl'>
+ <dt>void oneOpt (in optional MaybeNot foo)</dt>
+ <dd>on simple method</dd>
+ <dt>void twoOpt (in Yes yes, in optional MaybeNot foo, in optional MaybeNot bar)</dt>
+ <dd>multi params</dd>
+ <dt>void restOpt (in Yes yes, in optional MaybeNot foo, in SilentlyOpt bar)</dt>
+ <dd>optional to the rest</dd>
+ <dt>void extendedOptional ()</dt>
+ <dd>
+ With the extended syntax
+ <dl class='parameters'>
+ <dt>optional unsigned long? foo</dt>
+ <dd>
+ Specifies foo, nullable and optional.
+ </dd>
+ </dl>
+ </dd>
+ </dl>
+ </section>
</body>
</html>
Received on Thursday, 3 December 2009 11:43:29 UTC