mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
36 lines
1.3 KiB
Kotlin
Vendored
36 lines
1.3 KiB
Kotlin
Vendored
|
|
/**
|
|
* Hello darling
|
|
* @author DarkWing Duck
|
|
*/
|
|
fun testFun() {}
|
|
|
|
class outherClass {
|
|
/**
|
|
* Hello darling instance
|
|
* @author Morgana Macawber
|
|
*/
|
|
fun instanceFun() {
|
|
/**
|
|
* Hello darling local
|
|
* @author Launchpad McQuack
|
|
*/
|
|
fun localFun() {
|
|
if (true) {
|
|
/**
|
|
* Hello darling superLocal
|
|
* @author Reginald Bushroot
|
|
*/
|
|
fun superLocalFun() {
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// RENDER: <div class='content'><p>Hello darling</p></div><table class='sections'><tr><td valign='top' class='section'><p>Author:</td><td valign='top'>DarkWing Duck</td></table>
|
|
// RENDER: <div class='content'><p>Hello darling instance</p></div><table class='sections'><tr><td valign='top' class='section'><p>Author:</td><td valign='top'>Morgana Macawber</td></table>
|
|
// RENDER: <div class='content'><p>Hello darling local</p></div><table class='sections'><tr><td valign='top' class='section'><p>Author:</td><td valign='top'>Launchpad McQuack</td></table>
|
|
// RENDER: <div class='content'><p>Hello darling superLocal</p></div><table class='sections'><tr><td valign='top' class='section'><p>Author:</td><td valign='top'>Reginald Bushroot</td></table> |