RESULT=(new ParseNode("method")).addChild(method).getRoot();
:}
/* repeat the prod for 'class_declaration' here: */
-// | modifiers_opt CLASS IDENTIFIER super_opt class_body
+// | modifiers_opt:mo CLASS IDENTIFIER:id super_opt:so interfaces_opt:ifo class_body:body
+// {:
+// ParseNode pn=new ParseNode("inner_class_declaration");
+// pn.addChild("modifiers").addChild(mo);
+// pn.addChild("name").addChild(id);
+// pn.addChild("super").addChild(so);
+// pn.addChild("superIF").addChild(ifo);
+// pn.addChild("classbody").addChild(body);
+// RESULT=pn;
+// :}
| interface_declaration:interfaced {:
RESULT=(new ParseNode("interface")).addChild(interfaced).getRoot();
:}