Content of a MappingDefinition as Lambda
Currently, the content is specified using {:
and :}
as hatch symbols and return
to mark the result.
As a convenience, one may follow alternative specification for this, like:
- Using lambda notation, e.g.,
MyMapping maps double to int with myConverter::convert
- Using JastAdd syntax using equals, e.g.,
MyMapping maps double x to int = new MyConverter().convert(x);