I’d like to write this shorter:
completion template : EntityBodyDeclaration = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank) completion template : Definition = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)for example, like this:
Submitted by Danny Groenewegen on 4 November 2010 at 11:30completion template : EntityBodyDeclaration, Definition = "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)
Implemented as part of http://yellowgrass.org/issue/Spoofax/362
Syntax in your example would be:
Submitted on 21 April 2011 at 11:29 by Tobi Vollebregtcompletion template EntityBodyDeclaration Definition : "function " <name> "(x : Type, y : Type) : ReturnType {\n\t\n}" (blank)
Log in to post comments