/* Production 92, chapter 3.4, corba 2.3.1 */ public void param_attribute() { /*@bgen(jjtree) param_attribute */ ASTparam_attribute jjtn000 = new ASTparam_attribute(this, IDLParserTreeConstants.JJTPARAM_ATTRIBUTE); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) { case 31: jj_consume_token(31); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setParamDir(ASTparam_attribute.ParamDir_IN); break; case 79: jj_consume_token(79); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setParamDir(ASTparam_attribute.ParamDir_OUT); break; case 80: jj_consume_token(80); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setParamDir(ASTparam_attribute.ParamDir_INOUT); break; default: jj_la1[81] = jj_gen; jj_consume_token(-1); throw new ParseException(); break; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
/** * @see parser.IDLParserVisitor#visit(ASTparam_attribute, Object) */ public Object visit(ASTparam_attribute node, Object data) { return null; // nothing to do }