Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 1 | <!DOCTYPE html |
| 2 | PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../xhtml1-strict.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 6 | <link rel="stylesheet" type="text/css" href="../css/ot.css" /> |
| 7 | <link rel="stylesheet" type="text/css" href="../css/otjld.css" /> |
| 8 | <title>OT/J Language Definition v1.3</title> |
| 9 | </head> |
| 10 | <body class="otdt"> |
| 11 | <div id="content"> |
| 12 | <table class="nav"> |
| 13 | <tr> |
| 14 | <td class="back"><a id="top"></a><a href="sA.3.html" rel="prev"><< §A.3 Method bindings</a></td> |
| 15 | <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| 16 | <td class="next"><a href="sA.5.html" rel="next">§A.5 Statements >></a></td> |
| 17 | </tr> |
| 18 | </table> |
| 19 | <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">§A OT/J Syntax</a></div> |
| 20 | <div class="sect depth2" id="sA.4"> |
Stephan Herrmann | 109893e | 2010-05-18 22:02:53 +0000 | [diff] [blame] | 21 | <h2 class="sect">§A.4 Parameter mappings<a class="img" href="sA.4.html" |
| 22 | title="PermaLink to §A.4 Parameter mappings"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png" |
| 23 | alt="" /></a></h2> |
Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 24 | <table class="syntaxrule" id="sA.4.1"> |
| 25 | <tr> |
| 26 | <td class="sect">§ A.4.1</td> |
| 27 | <td class="rule"><span class="title">CalloutParameterMappings</span><br /><strong class="blue">with { <em>CalloutParameterMappingList [,]</em> }</strong><br /><strong class="blue">;</strong></td> |
| 28 | </tr> |
| 29 | </table> |
| 30 | <table class="syntaxrule" id="sA.4.2"> |
| 31 | <tr> |
| 32 | <td class="sect">§ A.4.2</td> |
| 33 | <td class="rule"><span class="title">CallinParameterMappings</span><br /><strong class="blue">with { <em>CallinParameterMappingList [,]</em> }</strong><br /><strong class="blue">;</strong></td> |
| 34 | </tr> |
| 35 | </table> |
| 36 | <table class="syntaxrule" id="sA.4.3"> |
| 37 | <tr> |
| 38 | <td class="sect">§ A.4.3</td> |
| 39 | <td class="rule"><span class="title">CalloutParameterMappingList</span><br /><strong class="blue"><em>CalloutParameterMapping [</em>,<em> CalloutParameterMappingList]</em></strong></td> |
| 40 | </tr> |
| 41 | </table> |
| 42 | <table class="syntaxrule" id="sA.4.4"> |
| 43 | <tr> |
| 44 | <td class="sect">§ A.4.4</td> |
| 45 | <td class="rule"><span class="title">CallinParameterMappingList</span><br /><strong class="blue"><em>CallinParameterMapping [</em>,<em> CallinParameterMappingList]</em></strong></td> |
| 46 | </tr> |
| 47 | </table> |
| 48 | <table class="syntaxrule" id="sA.4.5"> |
| 49 | <tr> |
| 50 | <td class="sect">§ A.4.5</td> |
| 51 | <td class="rule"><span class="title">CalloutParameterMapping</span><br /><em>Expression</em><strong class="blue"> -> </strong><em>Identifier</em><br /><strong class="blue">result <- </strong><em>Expression</em></td> |
| 52 | </tr> |
| 53 | </table> |
| 54 | <table class="syntaxrule" id="sA.4.6"> |
| 55 | <tr> |
| 56 | <td class="sect">§ A.4.6</td> |
| 57 | <td class="rule"><span class="title">CallinParameterMapping</span><br /><em>Identifier</em><strong class="blue"> <- </strong><em>Expression</em><br /><em>Expression</em><strong class="blue"> -> </strong><strong class="blue">result</strong></td> |
| 58 | </tr> |
| 59 | </table> |
| 60 | <div class="note"> |
| 61 | <h5>Note:</h5> |
| 62 | By defining ";" as an option for parameter mappings, the grammar enforces that |
| 63 | method bindings without a parameter mapping are terminated by a ";". |
| 64 | Also method bindings with parameter mappings may optionally be terminated by a ";", |
| 65 | which in that case is interpreted as an empty member declaration, following the |
| 66 | same pattern how non-abstract methods in Java may optionally have a trailing ";". |
| 67 | |
| 68 | </div> |
| 69 | </div> |
| 70 | <table class="nav"> |
| 71 | <tr> |
| 72 | <td class="back"><a href="sA.3.html" rel="prev"><< §A.3 Method bindings</a></td> |
| 73 | <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| 74 | <td class="next"><a href="sA.5.html" rel="next">§A.5 Statements >></a></td> |
| 75 | </tr> |
| 76 | </table> |
| 77 | <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">§A OT/J Syntax</a></div> |
| 78 | </div> |
| 79 | <div id="footer"> |
Stephan Herrmann | 109893e | 2010-05-18 22:02:53 +0000 | [diff] [blame] | 80 | <hr /><a class="w3c img" href="http://jigsaw.w3.org/css-validator/check/referer" |
| 81 | shape="rect"><img src="../images/valid-css2-blue.png" alt="Valid CSS!" height="31" width="88" /></a><a class="w3c img" href="http://validator.w3.org/check?uri=referer" shape="rect"><img src="../images/valid-xhtml10-blue.png" alt="Valid XHTML 1.0 Strict" height="31" |
| 82 | width="88" /></a><address>© Stephan Herrmann, Christine Hundt, Marco Mosconi</address> |
Stephan Herrmann | 8f0fa31 | 2010-06-08 18:24:55 +0000 | [diff] [blame^] | 83 | OT/J version 1.3 — last modified: 2010-06-08 |
Stephan Herrmann | 0166441 | 2010-04-01 20:28:43 +0000 | [diff] [blame] | 84 | </div> |
| 85 | </body> |
| 86 | </html> |