mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
36 lines
636 B
Kotlin
Vendored
36 lines
636 B
Kotlin
Vendored
/**
|
|
* Some documentation.
|
|
*
|
|
* ```
|
|
* Code block
|
|
* Second line
|
|
*
|
|
* Third line
|
|
* ```
|
|
*
|
|
* Text between code blocks.
|
|
* ```
|
|
* ```
|
|
* Text after code block.
|
|
*/
|
|
fun testMethod() {
|
|
|
|
}
|
|
|
|
class C {
|
|
}
|
|
|
|
fun test() {
|
|
<caret>testMethod(1, "value")
|
|
}
|
|
|
|
//INFO: <pre><b>public</b> <b>fun</b> testMethod(): Unit <i>defined in</i> root package <i>in file</i> OnMethodUsageWithCodeBlock.kt</pre><p>Some documentation.</p>
|
|
//INFO: <pre><code>
|
|
//INFO: Code block
|
|
//INFO: Second line
|
|
//INFO:
|
|
//INFO: Third line
|
|
//INFO: </code></pre><p>Text between code blocks.</p>
|
|
//INFO: <pre><code>
|
|
//INFO: </code></pre><p>Text after code block.</p>
|