blob: 39080ba9a7fbdfd8fe6b0a7224adfa679bbce9ac [file] [log] [blame]
Stephan Herrmann01664412010-04-01 20:28:43 +00001<!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 Herrmann01664412010-04-01 20:28:43 +00006 <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.1.html" rel="prev">&lt;&lt;&nbsp;&sect;A.1&nbsp;Class definitions</a></td>
15 <td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
16 <td class="next"><a href="sA.3.html" rel="next">&sect;A.3&nbsp;Method bindings&nbsp;&gt;&gt;</a></td>
17 </tr>
18 </table>
19 <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">&sect;A&nbsp;OT/J Syntax</a></div>
20 <div class="sect depth2" id="sA.2">
Stephan Herrmann109893e2010-05-18 22:02:53 +000021 <h2 class="sect">&sect;A.2&nbsp;Modifiers<a class="img" href="sA.2.html" title="PermaLink to &sect;A.2&nbsp;Modifiers"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png"
22 alt="" /></a></h2>
Stephan Herrmann01664412010-04-01 20:28:43 +000023 <p>The rule for method modifiers adds one keyword: <code>callin</code>:
24
25 </p>
26 <table class="syntaxrule" id="sA.2.1">
27 <tr>
28 <td class="sect">&sect;&nbsp;A.2.1</td>
29 <td class="rule"><span class="title">Modifier</span><br />... <br /><strong class="blue">callin</strong></td>
30 </tr>
31 </table>
32 <div class="constraints">
33 <h5 class="constraints">Contextual constraints:</h5>
34 <ol class="constraints">
35 <li>The class of a method which has the <code>callin</code> modifier
36 may not be declared static and must be directly contained in a team class.
37 </li>
38 <li>A method that has the <code>callin</code> modifier may not
39 appear in an explicit method call (rule Apply in JLS).
40 </li>
41 </ol>
42 </div>
43 </div>
44 <table class="nav">
45 <tr>
46 <td class="back"><a href="sA.1.html" rel="prev">&lt;&lt;&nbsp;&sect;A.1&nbsp;Class definitions</a></td>
47 <td class="top"><a href="index.html" rel="contents">&uarr;&nbsp;Table of Contents&nbsp;&uarr;</a></td>
48 <td class="next"><a href="sA.3.html" rel="next">&sect;A.3&nbsp;Method bindings&nbsp;&gt;&gt;</a></td>
49 </tr>
50 </table>
51 <div class="breadcrumb"><a class="nav" href="sA.html" rel="section">&sect;A&nbsp;OT/J Syntax</a></div>
52 </div>
53 <div id="footer">
Stephan Herrmann109893e2010-05-18 22:02:53 +000054 <hr /><a class="w3c img" href="http://jigsaw.w3.org/css-validator/check/referer"
55 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"
56 width="88" /></a><address>&copy; Stephan Herrmann, Christine Hundt, Marco Mosconi</address>
Stephan Herrmann8f0fa312010-06-08 18:24:55 +000057 OT/J version 1.3 &mdash; last modified: 2010-06-08
Stephan Herrmann01664412010-04-01 20:28:43 +000058 </div>
59 </body>
60</html>