/* Production 18, chapter 3.4, CORBA 2.3.1 */ public void value_header() { /*@bgen(jjtree) value_header */ ASTvalue_header jjtn000 = new ASTvalue_header(this, IDLParserTreeConstants.JJTVALUE_HEADER); bool jjtc000 = true; jjtree.openNodeScope(jjtn000);String ident = ""; bool isCustom = false; try { switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) { case 23: jj_consume_token(23); isCustom = true; break; default: jj_la1[21] = jj_gen; ; break; } jj_consume_token(22); ident = identifier(); switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) { case 19: value_base_inheritance_spec(); break; default: jj_la1[22] = jj_gen; ; break; } switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) { case 25: value_support_inheritance_spec(); break; default: jj_la1[23] = jj_gen; ; break; } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setIdent(ident); jjtn000.setCustom(isCustom); } catch (Exception jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } {if (true) throw ;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
/** * @see parser.IDLParserVisitor#visit(ASTvalue_header, Object) * @param data the buildinfo of the container for this valuetype */ public Object visit(ASTvalue_header node, Object data) { CheckParameterForBuildInfo(data, node); return ParseValueInheritSpec(node, (BuildInfo) data); }