Пример #1
0
/* Production 47: chapter 3.4 corba 2.3.1 */
  public void template_type_spec() {
 /*@bgen(jjtree) template_type_spec */
  ASTtemplate_type_spec jjtn000 = new ASTtemplate_type_spec(this, IDLParserTreeConstants.JJTTEMPLATE_TYPE_SPEC);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) {
      case 67:
        sequence_type();
        break;
      case 70:
        string_type();
        break;
      case 71:
        wide_string_type();
        break;
      case 83:
        fixed_pt_type();
        break;
      default:
        jj_la1[54] = 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(ASTtemplate_type_spec, Object)
  * @param data the buildinfo for the current scope
  * @return a typecontainer for the type respresented by this node
  */
 public Object visit(ASTtemplate_type_spec node, Object data) {
     Node child = node.jjtGetChild(0);
     return child.jjtAccept(this, data);
 }