Files
kotlin-fork/compiler/testData/psi/DocCommentsBinding.kt
T
2014-10-31 21:08:52 +03:00

40 lines
623 B
Kotlin
Vendored

/**
* Doc comment for A
*/
// some comment
class A(
/**
* Doc comment for val-parameter
*/
/*var*/val p: Int
) {
/**
* Doc comment for function
*/
fun foo() {
/**
* Doc comment for local function
*/
fun localFoo() { }
/**
* Doc comment for local class
*/
class LocalClass
}
/**
* Doc comment for property
*/
var property: Int
/** Doc comment for getter */
get() = 1
/** Doc comment for setter */
set(value) {}
}
/**
* Doc comment for B
*/
class B {
}