xref: /Universal-ctags/Units/parser-ttcn.r/ttcn-function.d/input.ttcn (revision bdbdf3431240d91d63f7c45185153d7f32ab1670)
1module CoffeeMachine
2{
3    function startCoffeePrepration()
4    {
5        //do nothing
6    }
7
8   function drinkCoffee(charstring coffeeType)
9       runs on CoffeeDrinkerComponentType
10   {
11      //drinking coffee
12   }
13
14   function getCoffee() runs on CoffeeDrinkerComponentType
15       return template Coffee
16   {
17       return coffee("espresso")
18   }
19
20   function boilWater() return Water
21   {
22       return valueof(CleanWater{})
23   }
24}
25