summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/code-indent.scala
blob: 2eee3352b451a62c7dd9fa1053998f7b4aa11bb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/** 
 * This is an example of indented comments:
 *    {{{
 *       a typicial indented 
 *       comment on multiple
 *       comment lines
 *    }}}
 *    {{{ one liner }}}
 *    {{{ two lines, one useful
 *    }}}
 *    {{{
 *       line1
 *       line2
 *       line3
 *       line4}}}
 *    {{{
 *       a ragged example
 *       a (condition)
 *         the t h e n branch
 *       an alternative
 *         the e l s e branch
 *    }}}
 *    {{{
 *    Trait example {
 *      Val x = a
 *      Val y = b
 *    }
 *    }}}
 *    NB: Trailing spaces are necessary for this test!
 *    {{{
 *       l1
 *
 *       l2
 * 
 *       l3
 *    
 *       l4
 *         
 *       l5
 *    }}}

 */
class C