Example #1
0
/* Production 8: chapter 3.4, CORBA 2.3.1 */
  public void interface_body() {
 /*@bgen(jjtree) interface_body */
  ASTinterface_body jjtn000 = new ASTinterface_body(this, IDLParserTreeConstants.JJTINTERFACE_BODY);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) {
        case 21:
        case 32:
        case 48:
        case 49:
        case 50:
        case 51:
        case 52:
        case 53:
        case 54:
        case 55:
        case 56:
        case 57:
        case 58:
        case 59:
        case 60:
        case 61:
        case 62:
        case 66:
        case 70:
        case 71:
        case 74:
        case 75:
        case 76:
        case 77:
        case 78:
        case 84:
        case IDLParserConstants.PRAGMA:
        case IDLParserConstants.ID:
          ;
          break;
        default:
          jj_la1[11] = jj_gen;
          goto label_3;
          break;
        }
        export();
      }
      label_3: ;
      
    } catch (Exception jjte000) {
    if (jjtc000) {
      jjtree.clearNodeScope(jjtn000);
      jjtc000 = false;
    } else {
      jjtree.popNode();
    }
  {if (true) throw ;}
    } finally {
    if (jjtc000) {
      jjtree.closeNodeScope(jjtn000, true);
    }
    }
  }
 /**
  * Adds all exports to the type which is defined at the moment
  * @see parser.IDLParserVisitor#visit(ASTinterface_body, Object)
  * @param data a BuildInfo instance.
  */
 public Object visit(ASTinterface_body node, Object data) {
     node.childrenAccept(this, data); // generate for all exports
     return null;
 }