aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-29 21:05:53 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-29 21:05:53 +0100
commit2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23 (patch)
tree500b9c6d48a2eec714bfbb390f5c29cd4730955f /test/data
parentcedaeb48615cf6f9aae3cbcd3917e9827ca5e67f (diff)
downloaddokka-2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23.tar.gz
dokka-2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23.tar.bz2
dokka-2016ba9a4c6fbd1cc1644eff6d7ac606d624bd23.zip
render class object properties and functions
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/classWithClassObject.kt7
-rw-r--r--test/data/format/classWithClassObject.md53
2 files changed, 60 insertions, 0 deletions
diff --git a/test/data/format/classWithClassObject.kt b/test/data/format/classWithClassObject.kt
new file mode 100644
index 00000000..459efad6
--- /dev/null
+++ b/test/data/format/classWithClassObject.kt
@@ -0,0 +1,7 @@
+class Klass() {
+ class object {
+ val x = 1
+
+ fun foo() {}
+ }
+}
diff --git a/test/data/format/classWithClassObject.md b/test/data/format/classWithClassObject.md
new file mode 100644
index 00000000..10cac365
--- /dev/null
+++ b/test/data/format/classWithClassObject.md
@@ -0,0 +1,53 @@
+[test](out.md) / [](out.md) / [Klass](out.md)
+
+
+# Klass
+
+
+```
+class Klass
+```
+
+
+
+
+### Constructors
+
+
+|
+[&lt;init&gt;](out.md)
+
+ |
+```
+public Klass()
+```
+
+ |
+
+
+### Class Object Properties
+
+
+|
+[x](out.md)
+
+ |
+```
+val x: Int
+```
+
+ |
+
+
+### Class Object Functions
+
+
+|
+[foo](out.md)
+
+ |
+```
+fun foo(): Unit
+```
+
+ |