How can I prevent new lines in StringTemplate? For example
myAssigns(isConst, myType, myName,exp1,exp2) ::=
<<
<if(isConst)>const <endif><myType> <myName> <if(exp2)> [<exp2>]<endif>= <exp1>;
>>
works and keeps the translation on one line, but it isn't easy to read. How can I escape my if statements to prevent them from printing on different lines. (In my sepcific case const type name would be on one line and exp2 and exp1 would be on the next line when printed to the screen.)