Debian Codegraph @

help/info/extension.html

raw symbols SCIP
1 <!--
2 Copyright (c) 2000-2021 Ericsson Telecom AB
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v2.0
5 which accompanies this distribution, and is available at
6 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7
8 Contributors:
9 Baji, Laszlo
10 Balasko, Jeno
11 Farkas, Laszlo
12 Szabados, Kristof
13 -->
14 <html>
15 <head>
16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
17 <meta http-equiv="Content-Language" content="en-us">
18 <title>extension</title>
19 </head>
20 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
21 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
22 <tr>
23 <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td>
24 </tr>
25 </table>
26 <table border="0" align="right" cellpadding="0" cellspacing="0">
27 <tr>
28 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
29 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
30 <td><a href="execute.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
31 <td><a href="external.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
32 </tr>
33 </table>
34 <p><br clear="all">
35 </p>
36 <hr>
37 <h1>extension</h1>
38 <hr align="left" width="75%">
39 <p>The attribute is specified by the user.&nbsp;
40 <p>In TITAN the following three arguments are specified:.&nbsp;
41 <ul>
42 <li>
43 <p>internal<br>
44 &nbsp; &nbsp;is appended to the port type definition if all instances of a TTCN-3 port type are intended to be used for internal communication only (i.e. between two TTCN-3 test components).</p>
45 </li>
46 <li>
47 <p>address<br>
48 &nbsp;&nbsp;is appended to the port type definition if the user wants to use <b><font face="Courier New"> address</font></b> values in TTCN-3 port operations.</p>
49 </li>
50 <li>
51 <p>done<br>
52 &nbsp;&nbsp; is appended to a function with <b><font face="Courier New"> runs</font></b> <b><font face="Courier New"> on</font></b> clause if the return value of that function must be retrieved
53 after the corresponding component was stopped.</p>
54 </li>
55 </ul>
56 <p>Related keywords:</p>
57 <ul>
58 <li><a href="with.html"><b><font face="Courier New" color="#003258" size="4">with</font></b></a></li>
59 <li><a href="override.html"><b><font face="Courier New" color="#003258" size="4">override</font></b></a></li>
60 </ul>
61 <hr align="left" width="50%">
62 <div align="center">
63 <center>
64 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
65 <tr>
66 <td width="100%">
67 <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>extension</b></font> [ <font face="Courier New" color="#003258" size="5"><b>override</b></font> ] [ <font
68 face="Courier New" color="#003258" size="5"><b>(</b></font><i>qualifier</i><font face="Courier New" color="#003258" size="5"><b>)</b></font> ] <font face="Courier New" color="#003258" size="5"><b>&quot;</b></font><i>argument</i><b><font
69 face="Courier New" color="#003258" size="5">&quot;</font></b></h3>
70 </td>
71 </tr>
72 </table>
73 </center>
74 </div>
75 <ul>
76 <li>
77 <p>the optional <b><font face="Courier New">override</font></b> directive forces all contained types at all lower scopes to be forced to the specified attribute.</p>
78 </li>
79 <li>
80 <p>the optional <i>qualifier</i> points out the entity for which the argument is valid.</p>
81 </li>
82 <li>
83 <p><i>argument</i> is a free-text string specifying the actual attribute.</p>
84 </li>
85 </ul>
86 <hr align="left" width="50%">
87 <p>Example:
88 <p><font face="Courier New">type port Vnitrni_PT message { inout octetstring } with { extension &quot;internal&quot;}</font></p>
89 <p>The port called&nbsp; Vnitrni_PT both sends and receives octetstrings and is used for internal communication only.</p>
90 <hr align="left" width="25%">
91 <hr align="left" width="25%">
92 <p><a HREF="BNF.html#attribkeyword">BNF definition</a> of <font face="Courier New"> extension</font></p>
93 </body>
94 </html>