aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/classWithCompanionObject.html
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-17 19:54:11 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-17 19:54:11 +0100
commitc7916f74964246bee4d256c106b01c7e317e6c10 (patch)
tree39d28310f12ae4b8e3d4f182aa66b1e5b1c4319e /test/data/format/classWithCompanionObject.html
parent0406a6bce4f461f3ae846911505701324411fa9b (diff)
downloaddokka-c7916f74964246bee4d256c106b01c7e317e6c10.tar.gz
dokka-c7916f74964246bee4d256c106b01c7e317e6c10.tar.bz2
dokka-c7916f74964246bee4d256c106b01c7e317e6c10.zip
default objects -> companion objects
Diffstat (limited to 'test/data/format/classWithCompanionObject.html')
-rw-r--r--test/data/format/classWithCompanionObject.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/data/format/classWithCompanionObject.html b/test/data/format/classWithCompanionObject.html
new file mode 100644
index 00000000..be9247ea
--- /dev/null
+++ b/test/data/format/classWithCompanionObject.html
@@ -0,0 +1,46 @@
+<HTML>
+<HEAD>
+<title>test / Klass</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-klass/index">Klass</a><br/>
+<br/>
+<h1>Klass</h1>
+<code><span class="keyword">class </span><span class="identifier">Klass</span></code><br/>
+<br/>
+<br/>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-klass/-init-">&lt;init&gt;</a></td>
+<td>
+<code><span class="identifier">Klass</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
+<h3>Companion Object Properties</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-klass/x">x</a></td>
+<td>
+<code><span class="keyword">val </span><span class="identifier">x</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
+</tr>
+</tbody>
+</table>
+<h3>Companion Object Functions</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-klass/foo">foo</a></td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
+</tr>
+</tbody>
+</table>
+</BODY>
+</HTML>