| <!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.1</title> |
| </head> |
| <body class="otdt"> |
| <div id="content"> |
| <table class="nav"> |
| <tr> |
| <td class="back"><a id="top"></a><a href="sA.4.html" rel="prev"><< §A.4 Parameter mappings</a></td> |
| <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| <td class="next"><a href="sA.6.html" rel="next">§A.6 Types >></a></td> |
| </tr> |
| </table> |
| <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">§A OT/J Syntax</a></div> |
| <div class="sect depth2" id="sA.5"> |
| <h2 class="sect">§A.5 Statements<a class="img" href="sA.5.html" title="PermaLink to §A.5 Statements"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png" |
| alt="" /></a></h2> |
| <table class="syntaxrule" id="sA.5.1"> |
| <tr> |
| <td class="sect">§ A.5.1</td> |
| <td class="rule"><span class="title">Statement</span><br />... <br /><em><strong class="blue">Within</strong><br /><strong class="blue">BaseCall</strong><br /><strong class="blue">TSuperCall</strong></em></td> |
| </tr> |
| </table> |
| <table class="syntaxrule" id="sA.5.2"> |
| <tr> |
| <td class="sect">§ A.5.2</td> |
| <td class="rule"><span class="title">Within</span><br /><strong class="blue">within</strong> ( <em>Expression</em> ) <em>Statement</em></td> |
| </tr> |
| </table> |
| <table class="syntaxrule" id="sA.5.3"> |
| <tr> |
| <td class="sect">§ A.5.3</td> |
| <td class="rule"><span class="title">BaseCall</span><br /><strong class="blue">base</strong> . <em>Identifier</em> ( <em>Arguments<sub>opt</sub></em> ) |
| <br /><strong class="blue">base</strong> ( <em>Arguments<sub>opt</sub></em> ) |
| |
| </td> |
| </tr> |
| </table> |
| <table class="syntaxrule" id="sA.5.4"> |
| <tr> |
| <td class="sect">§ A.5.4</td> |
| <td class="rule"><span class="title">TSuperCall</span><br /><strong class="blue">tsuper</strong> . <em>Identifier</em> ( <em>Arguments<sub>opt</sub></em> ) |
| <br /><strong class="blue">tsuper</strong> ( <em>Arguments<sub>opt</sub></em> ) |
| |
| </td> |
| </tr> |
| </table> |
| <div class="constraints"> |
| <h5 class="constraints">Contextual constraints:</h5> |
| <ol class="constraints"> |
| <li>The expression of a <code>Within</code> must evaluate |
| to an instance of a team class. |
| </li> |
| <li>The first form of a <code>BaseCall</code> may occur only |
| in the body of a method that has the <code>callin</code> modifier. |
| The identifier must be the name of the enclosing method. |
| </li> |
| <li>The second form of a <code>BaseCall</code> may occur only in a constructor of a |
| bound role class. |
| </li> |
| <li>The first form of a <code>TSuperCall</code> may occur only in a method of |
| a role class. |
| </li> |
| <li>The second form of a <code>TSuperCall</code> may occur only in a constructor of a |
| role class. |
| </li> |
| </ol> |
| </div> |
| </div> |
| <table class="nav"> |
| <tr> |
| <td class="back"><a href="sA.4.html" rel="prev"><< §A.4 Parameter mappings</a></td> |
| <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| <td class="next"><a href="sA.6.html" rel="next">§A.6 Types >></a></td> |
| </tr> |
| </table> |
| <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">§A 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>© Stephan Herrmann, Christine Hundt, Marco Mosconi</address> |
| OT/J version 1.3.1 — last modified: 2013-05-28 |
| </div> |
| </body> |
| </html> |