aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 15:49:47 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-11 15:49:47 +0400
commitba96795f4eff615578f72c29a2f29b7111c8de8c (patch)
tree4f27da2a4160d2dc145489683c366c7ad7502d15 /test
parentbdbdbd8986c0b16da69a4beced3cfd274dfd9086 (diff)
downloaddokka-ba96795f4eff615578f72c29a2f29b7111c8de8c.tar.gz
dokka-ba96795f4eff615578f72c29a2f29b7111c8de8c.tar.bz2
dokka-ba96795f4eff615578f72c29a2f29b7111c8de8c.zip
Improving API, setting up playground, preparing for processing data.
Diffstat (limited to 'test')
-rw-r--r--test/data/function.kt2
-rw-r--r--test/playground.kt44
2 files changed, 44 insertions, 2 deletions
diff --git a/test/data/function.kt b/test/data/function.kt
deleted file mode 100644
index facbf677..00000000
--- a/test/data/function.kt
+++ /dev/null
@@ -1,2 +0,0 @@
-
-fun fn() {} \ No newline at end of file
diff --git a/test/playground.kt b/test/playground.kt
new file mode 100644
index 00000000..136995d1
--- /dev/null
+++ b/test/playground.kt
@@ -0,0 +1,44 @@
+// this file is not included in sources or tests, you can play with it for debug purposes
+// Console run configuration will analyse it and provide lots of debug output
+
+fun topLevelFunction() {
+}
+
+val topLevelConstantValue = "Hello"
+
+val topLevelValue : String
+ get() = "Bye bye"
+
+var topLevelVariable : String
+ get() = "Modify me!"
+ set(value) {
+ }
+
+class Class {
+ fun memberFunction() {
+ }
+
+}
+
+object Object {
+ fun objectFunction() {
+ }
+}
+
+class OuterClass {
+
+ class NestedClass {
+ fun nestedClassFunction() {
+ }
+ }
+
+ inner class InnerClass {
+ fun innerClassFunction() {
+ }
+ }
+
+ object NestedObject {
+ fun nestedObjectFunction() {
+ }
+ }
+} \ No newline at end of file