Example #1
0
/* Production 53, changed to the style used for int_types */
  public void floating_pt_type() {
 /*@bgen(jjtree) floating_pt_type */
  ASTfloating_pt_type jjtn000 = new ASTfloating_pt_type(this, IDLParserTreeConstants.JJTFLOATING_PT_TYPE);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) {
      case 52:
        floating_pt_type_longdouble();
        break;
      case 50:
        floating_pt_type_float();
        break;
      case 51:
        floating_pt_type_double();
        break;
      default:
        jj_la1[58] = 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(ASTfloating_pt_type, Object)
  * @param data unused
  * @return a TypeContainer for the floating pt type represented through this node
  */
 public Object visit(ASTfloating_pt_type node, Object data) {
     return node.jjtGetChild(0).jjtAccept(this, data);   
 }