/* Production 54, chapter 3.4, corba 2.3.1 */ public void integer_type() { /*@bgen(jjtree) integer_type */ ASTinteger_type jjtn000 = new ASTinteger_type(this, IDLParserTreeConstants.JJTINTEGER_TYPE); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) { case 52: case 53: signed_int(); break; case 54: unsigned_int(); break; default: jj_la1[59] = jj_gen; jj_consume_token(-1); throw new ParseException(); break; } } 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(ASTinteger_type, Object) * @param data unused * @return a TypeContainer for the type represented by the node */ public Object visit(ASTinteger_type node, Object data) { // integer_type ::= <signed_int> | <unsigned_int> return node.jjtGetChild(0).jjtAccept(this, data); }