/* Production 29 chapter 3.4, corba 2.3.1 */ public void const_exp() { /*@bgen(jjtree) const_exp */ ASTconst_exp jjtn000 = new ASTconst_exp(this, IDLParserTreeConstants.JJTCONST_EXP); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); try { or_expr(); } 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(ASTconst_exp, Object) */ public Object visit(ASTconst_exp node, Object data) { // evaluate or_expr Object result = node.jjtGetChild(0).jjtAccept(this, data); return result; }