Пример #1
0
/* Production 4: chapter 3.4, CORBA 2.3.1. spec (renamed interface -> interfacex, because interface is a keyword in java) */
  public void interfacex() {
 /*@bgen(jjtree) interfacex */
  ASTinterfacex jjtn000 = new ASTinterfacex(this, IDLParserTreeConstants.JJTINTERFACEX);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      if (jj_2_5(4)) {
        interface_dcl();
      } else if (jj_2_6(4)) {
        forward_dcl();
      } else {
        jj_consume_token(-1);
        throw new ParseException();
      }
    } 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(ASTinterfacex, Object)
  */
 public Object visit(ASTinterfacex node, Object data) {
     node.childrenAccept(this, data);
     return null;
 }