
1 // 2 // Copyright (c) 2006, Brian Frank and Andy Frank 3 // Licensed under the Academic Free License version 3.0 4 // 5 // History: 6 // 6 Jan 06 Brian Frank Creation 7 // 8 9 ** 10 ** Param represents one parameter definition of a Func (or Method). 11 ** 12 final class Param 13 { 14 15 ////////////////////////////////////////////////////////////////////////// 16 // Constructor 17 ////////////////////////////////////////////////////////////////////////// 18 19 ** 20 ** Private constructor. 21 ** 22 private new make() 23 24 ////////////////////////////////////////////////////////////////////////// 25 // Methods 26 ////////////////////////////////////////////////////////////////////////// 27 28 ** 29 ** Name of the parameter. 30 ** 31 Str name() 32 33 ** 34 ** Type of the parameter. 35 ** 36 Type of() 37 38 ** 39 ** Return if this parameter has a default value. If true, 40 ** then callers are not required to specify an argument. 41 ** 42 Bool hasDefault() 43 44 }