}
throw new Error("Missing return statement in function");
}
final public JModule Module() throws ParseException {
JModule module;
String mName;
JRecord record;
JService service;
jj_consume_token(MODULE_TKN);
mName = ModuleName();
System.out.println("Module Name:" + mName);
curModuleName = mName;
module = new JModule(mName);
jj_consume_token(LBRACE_TKN);
label_2: while (true) {
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case SERVICE_TKN:
case RECORD_TKN:
;
break;
default:
jj_la1[2] = jj_gen;
break label_2;
}
switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
case SERVICE_TKN:
service = Service();
module.addService(service);
break;
case RECORD_TKN:
record = Record();
if (record != null)
System.out.println("Record() returned:" + record.toString());
else
System.out.println("Record() returned NULL");
module.addRecord(record);
break;
default:
jj_la1[3] = jj_gen;
jj_consume_token(-1);
throw new ParseException();