*/
private ParamTemplate readParam(final SimpleParser parser) {
final ParamTemplate result = new ParamTemplate();
if (!parser.lookAhead("{")) {
throw new EACompileError("Expected {");
}
parser.advance();
boolean done = false;
final StringBuilder buffer = new StringBuilder();
while (!done) {
if (parser.peek() == '}') {
done = true;
parser.advance();
} else if (parser.peek() == '{') {
throw new EACompileError("Unexpected {");
} else if (parser.peek() == '{') {
done = true;
parser.advance();
} else if (parser.peek() == ',') {
result.addType(buffer.toString().trim().toLowerCase());