From ba96795f4eff615578f72c29a2f29b7111c8de8c Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 11 Jul 2014 15:49:47 +0400 Subject: Improving API, setting up playground, preparing for processing data. --- test/data/function.kt | 2 -- test/playground.kt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) delete mode 100644 test/data/function.kt create mode 100644 test/playground.kt (limited to 'test') 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 -- cgit