/** * Accept the visitor for all visitable children of this node. * * @param v the visitor * @exception StandardException on error */ void acceptChildren(Visitor v) throws StandardException { super.acceptChildren(v); if (javaNode != null) { javaNode = (JavaValueNode) javaNode.accept(v); } }
/** * Accept the visitor for all visitable children of this node. * * @param v the visitor * @exception StandardException on error */ void acceptChildren(Visitor v) throws StandardException { super.acceptChildren(v); if (testCondition != null) { testCondition = (ValueNode) testCondition.accept(v); } if (thenElseList != null) { thenElseList = (ValueNodeList) thenElseList.accept(v); } }
/** * Accept the visitor for all visitable children of this node. * * @param v the visitor * @exception StandardException on error */ void acceptChildren(Visitor v) throws StandardException { super.acceptChildren(v); if (receiver != null) { receiver = (ValueNode) receiver.accept(v); } if (leftOperand != null) { leftOperand = (ValueNode) leftOperand.accept(v); } if (rightOperand != null) { rightOperand = (ValueNode) rightOperand.accept(v); } }