blob: 9c25eb5935d3e400823c691cc7ad01c6ef0ed0cb [file] [log] [blame]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/ot.css" />
<link rel="stylesheet" type="text/css" href="../css/otjld.css" />
<title>OT/J Language Definition v1.3</title>
</head>
<body class="otdt">
<div id="content">
<table class="nav">
<tr>
<td class="back"><a id="top"></a><a href="sA.3.html" rel="prev">&lt;&lt;&nbsp;&sect;A.3&nbsp;Method bindings</a></td>
<td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
<td class="next"><a href="sA.5.html" rel="next">&sect;A.5&nbsp;Statements&nbsp;&gt;&gt;</a></td>
</tr>
</table>
<div class="breadcrumb"><a class="nav" href="sA.html" rel="section">&sect;A&nbsp;OT/J Syntax</a></div>
<div class="sect depth2" id="sA.4">
<h2 class="sect">&sect;A.4&nbsp;Parameter mappings<a class="img" href="sA.4.html"
title="PermaLink to &sect;A.4&nbsp;Parameter mappings"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png"
alt="" /></a></h2>
<table class="syntaxrule" id="sA.4.1">
<tr>
<td class="sect">&sect;&nbsp;A.4.1</td>
<td class="rule"><span class="title">CalloutParameterMappings</span><br /><strong class="blue">with { <em>CalloutParameterMappingList [,]</em> }</strong><br /><strong class="blue">;</strong></td>
</tr>
</table>
<table class="syntaxrule" id="sA.4.2">
<tr>
<td class="sect">&sect;&nbsp;A.4.2</td>
<td class="rule"><span class="title">CallinParameterMappings</span><br /><strong class="blue">with { <em>CallinParameterMappingList [,]</em> }</strong><br /><strong class="blue">;</strong></td>
</tr>
</table>
<table class="syntaxrule" id="sA.4.3">
<tr>
<td class="sect">&sect;&nbsp;A.4.3</td>
<td class="rule"><span class="title">CalloutParameterMappingList</span><br /><strong class="blue"><em>CalloutParameterMapping [</em>,<em> CalloutParameterMappingList]</em></strong></td>
</tr>
</table>
<table class="syntaxrule" id="sA.4.4">
<tr>
<td class="sect">&sect;&nbsp;A.4.4</td>
<td class="rule"><span class="title">CallinParameterMappingList</span><br /><strong class="blue"><em>CallinParameterMapping [</em>,<em> CallinParameterMappingList]</em></strong></td>
</tr>
</table>
<table class="syntaxrule" id="sA.4.5">
<tr>
<td class="sect">&sect;&nbsp;A.4.5</td>
<td class="rule"><span class="title">CalloutParameterMapping</span><br /><em>Expression</em><strong class="blue"> -&gt; </strong><em>Identifier</em><br /><strong class="blue">result &lt;- </strong><em>Expression</em></td>
</tr>
</table>
<table class="syntaxrule" id="sA.4.6">
<tr>
<td class="sect">&sect;&nbsp;A.4.6</td>
<td class="rule"><span class="title">CallinParameterMapping</span><br /><em>Identifier</em><strong class="blue"> &lt;- </strong><em>Expression</em><br /><em>Expression</em><strong class="blue"> -&gt; </strong><strong class="blue">result</strong></td>
</tr>
</table>
<div class="note">
<h5>Note:</h5>
By defining ";" as an option for parameter mappings, the grammar enforces that
method bindings without a parameter mapping are terminated by a ";".
Also method bindings with parameter mappings may optionally be terminated by a ";",
which in that case is interpreted as an empty member declaration, following the
same pattern how non-abstract methods in Java may optionally have a trailing ";".
</div>
</div>
<table class="nav">
<tr>
<td class="back"><a href="sA.3.html" rel="prev">&lt;&lt;&nbsp;&sect;A.3&nbsp;Method bindings</a></td>
<td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
<td class="next"><a href="sA.5.html" rel="next">&sect;A.5&nbsp;Statements&nbsp;&gt;&gt;</a></td>
</tr>
</table>
<div class="breadcrumb"><a class="nav" href="sA.html" rel="section">&sect;A&nbsp;OT/J Syntax</a></div>
</div>
<div id="footer">
<hr /><a class="w3c img" href="http://jigsaw.w3.org/css-validator/check/referer"
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"
width="88" /></a><address>&copy; Stephan Herrmann, Christine Hundt, Marco Mosconi</address>
OT/J version 1.3 &mdash; last modified: 2010-06-08
</div>
</body>
</html>