/* Production 13: TBD: check if correct */ public void value() { /*@bgen(jjtree) value */ ASTvalue jjtn000 = new ASTvalue(this, IDLParserTreeConstants.JJTVALUE); bool jjtc000 = true; jjtree.openNodeScope(jjtn000); try { if (jj_2_7(4)) { value_decl(); } else if (jj_2_8(4)) { value_abs_decl(); } else if (jj_2_9(4)) { value_box_decl(); } else if (jj_2_10(4)) { value_forward_decl(); } 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(ASTvalue, Object) * @param data the buildino of the container for this valuetype */ public Object visit(ASTvalue node, Object data) { // <value> ::= <value_decl> | <value_abs_decl> | <value_box_dcl> | <value_forward_dcl> node.childrenAccept(this, data); return null; }