79ab8587f666ad7c81ca2bd7a842fe5eef17cb02
[nit.git] / tests / sav / nitpretty_args24.res
1 # This file is part of NIT ( http://www.nitlanguage.org ).
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # toplevel comment
16
17 # block
18 # block
19 # block
20
21 # Adoc1
22 class A # ending comments
23         super Object
24         # super Int
25         super String
26
27         # super Truc
28
29         # inclass comments
30         # comm
31         #    ented
32         #      blocks
33
34         # Adoc2
35         fun foo do
36
37                 # comment
38
39                 var truc
40
41                 # comment
42                 # comment
43
44                 # comment
45
46                 var chose
47                 # comment
48         end
49
50         # comm
51         #    ented
52         #      blocks
53
54         fun bar do end
55         fun baz do end
56         # comment before end
57 end # ending comments
58
59 # comm
60 #    ented
61 #      blocks
62
63 abstract class B # comment
64 end
65
66 abstract class C end
67
68 abstract class B # comment 2
69 end
70
71 abstract class C end