Exemplo n.º 1
0
/* Production 51, chapter 3.4, corba 2.3.1 */
  public void simple_declarator() {
 /*@bgen(jjtree) simple_declarator */
  ASTsimple_declarator jjtn000 = new ASTsimple_declarator(this, IDLParserTreeConstants.JJTSIMPLE_DECLARATOR);
  bool jjtc000 = true;
  jjtree.openNodeScope(jjtn000);String ident = "";
    try {
      ident = identifier();
                         jjtree.closeNodeScope(jjtn000, true);
                         jjtc000 = false;
                         jjtn000.setIdent(ident);
    } catch (Exception jjte000) {
    if (jjtc000) {
      jjtree.clearNodeScope(jjtn000);
      jjtc000 = false;
    } else {
      jjtree.popNode();
    }
  {if (true) throw ;}
    } finally {
    if (jjtc000) {
      jjtree.closeNodeScope(jjtn000, true);
    }
    }
  }
 /**
  * does nothing, node is used by parent
  * @see parser.IDLParserVisitor#visit(ASTsimple_declarator, Object)
  */
 public Object visit(ASTsimple_declarator node, Object data) {
     return null; // nothing to do, used by parent node
 }