示例#1
0
/* Production 49, chapter 3.4, corba 2.3.1 */
  public void declarators() {
 /*@bgen(jjtree) declarators */
  ASTdeclarators jjtn000 = new ASTdeclarators(this, IDLParserTreeConstants.JJTDECLARATORS);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);
    try {
      declarator();
      while (true) {
        switch ((jj_ntk==-1)?jj_ntk_calc():jj_ntk) {
        case 20:
          ;
          break;
        default:
          jj_la1[56] = jj_gen;
          goto label_17;
          break;
        }
        jj_consume_token(20);
        declarator();
      }
      label_17: ;
      
    } 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(ASTdeclarators, Object)
  * @param data unused
  * @return an array of all declared elements here
  */
 public Object visit(ASTdeclarators node, Object data) {
     return null; // nothing to do, used by parent node
 }