1 # This file is part of NIT ( http://www.nitlanguage.org ).
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # A test program with a fake model to check model tools.
16 module longparameterlist
25 fun name
: Int is abstract
27 fun name2
: Int is abstract
29 var toto
: Int is abstract
35 fun short_list_parameter
(numbers
: Int, para1
: Bool, para2
: Float, para3
: Int) do
36 var starter
= new Starter
39 fun long_list_parameter
(numbers
: Int, para1
: Bool, para2
: Float, para3
: Int, para4
: Starter) do
40 var starter
= new Starter
47 redef fun name
do return 1 end