Hi,
I couldn't find any example on the web or in the Xtend docs of how to
declare a closure as a function parameter.
Finally I found the rule in the Xtype.xtext grammar:
XFunctionTypeRef:
('(' paramTypes+=JvmTypeReference (',' paramTypes+=JvmTypeReference)* ')')?
'=>' returnType=JvmTypeReference;
Is it missing in the docs or is I it just me not finding it?
Cheers,
Ramy
_______________________________________________
xtext-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/xtext-dev