aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2014-12-30 16:59:34 +0100
committerDmitry Jemerov <yole@jetbrains.com>2014-12-30 16:59:34 +0100
commit0e70fa4ca021bff09e7d9ce64269a4e698512af5 (patch)
tree48baff7faa1955ff60fed060a531982da33f36f6 /test/data
parentef51f7e2466e28db0943d528b6b489aefd098c0d (diff)
downloaddokka-0e70fa4ca021bff09e7d9ce64269a4e698512af5.tar.gz
dokka-0e70fa4ca021bff09e7d9ce64269a4e698512af5.tar.bz2
dokka-0e70fa4ca021bff09e7d9ce64269a4e698512af5.zip
render annotations
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/annotations.kt4
-rw-r--r--test/data/format/annotations.md30
2 files changed, 33 insertions, 1 deletions
diff --git a/test/data/format/annotations.kt b/test/data/format/annotations.kt
index 445ec969..9356d4ca 100644
--- a/test/data/format/annotations.kt
+++ b/test/data/format/annotations.kt
@@ -1,4 +1,6 @@
data class Foo {
- inline fun bar() {
+ inline fun bar([noinline] notInlined: () -> Unit) {
}
+
+ inline val x: Int
}
diff --git a/test/data/format/annotations.md b/test/data/format/annotations.md
index e69de29b..83f79397 100644
--- a/test/data/format/annotations.md
+++ b/test/data/format/annotations.md
@@ -0,0 +1,30 @@
+[test](out.md) / [](out.md) / [Foo](out.md)
+
+
+# Foo
+
+
+```
+data class Foo
+```
+
+
+
+
+### Constructors
+
+
+| [&lt;init&gt;](out.md) | `public Foo()` |
+
+
+### Properties
+
+
+| [x](out.md) | `inline val x: Int` |
+
+
+### Functions
+
+
+| [bar](out.md) | `inline fun bar(noinline notInlined: () -&gt; Unit): Unit` |
+