The expression type of the parameter
This needs to be implemented as a function (instead of a method) as we need to store it with the class at the time the implicit parseString for the type is availble (when the parameter instance is created).
This needs to be implemented as a function (instead of a method) as we need to store it with the class at the time the implicit parseString for the type is availble (when the parameter instance is created). Since the calling of this function is mainly used when type is not available such as in
List[Parameter[_]]
.
List[Parameter[_]] }}}
Returns the reference expression of the parameter.
The type class for parameters where all parameter class should belong to. This trait defines the standard methods that needs to be implemented to allow specific parameterized type for a Parameter. To add new Parameter types such as
, simply bring an implicit object that extends
in scope.
GenericParameter[YourOwnType] }}}
Parameter[YourOwnType] }}} implicit object that extends
in scope.
GenericParameter[YourOwnType] }}}