// This file is automatically generated by DemeterJ. EqualVisitor { {{ private java.util.Stack history = new java.util.Stack(); public EqualVisitor(Object obj) { history.push(obj); } }} before -> Main, programs, PathSpec_PList {{ if (is_equal) { Main obj = (Main) history.peek(); Object temp1 = obj.get_programs(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } }} after -> Main, programs, PathSpec_PList {{ if (is_equal) history.pop(); }} before Main {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before PathSpec {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Compound {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Unary {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Complement, first, PathSpec {{ if (is_equal) { Complement obj = (Complement) history.peek(); Object temp2 = obj.get_first(); if(temp2==null) { is_equal = false; return; } history.push(temp2); } }} after -> Complement, first, PathSpec {{ if (is_equal) history.pop(); }} before Complement {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Binary, first, PathSpec {{ if (is_equal) { Binary obj = (Binary) history.peek(); Object temp3 = obj.get_first(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> Binary, first, PathSpec {{ if (is_equal) history.pop(); }} before -> Binary, second, PathSpec {{ if (is_equal) { Binary obj = (Binary) history.peek(); Object temp4 = obj.get_second(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> Binary, second, PathSpec {{ if (is_equal) history.pop(); }} before Binary {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Join {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Merge {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Intersection {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Simple, source, Node {{ if (is_equal) { Simple obj = (Simple) history.peek(); Object temp5 = obj.get_source(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> Simple, source, Node {{ if (is_equal) history.pop(); }} before -> Simple, target, Node {{ if (is_equal) { Simple obj = (Simple) history.peek(); Object temp6 = obj.get_target(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> Simple, target, Node {{ if (is_equal) history.pop(); }} before Simple {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Path, source, Node {{ if (is_equal) { Path obj = (Path) history.peek(); Object temp7 = obj.get_source(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> Path, source, Node {{ if (is_equal) history.pop(); }} before -> Path, middle, Node_PList {{ if (is_equal) { Path obj = (Path) history.peek(); Object temp8 = obj.get_middle(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> Path, middle, Node_PList {{ if (is_equal) history.pop(); }} before -> Path, target, Node {{ if (is_equal) { Path obj = (Path) history.peek(); Object temp9 = obj.get_target(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> Path, target, Node {{ if (is_equal) history.pop(); }} before Path {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WfCheck {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WfCheckExperiment {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before ComplementMerge {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WellFormedVis {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before WfVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_wf() == ((WfVisitor) obj).get_wf(); }} before Node {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp10 = host.get_v(); Object temp11 = ((Node) obj).get_v(); if(temp10 == null && temp11 == null) {} else if(temp10 == null || temp11 == null || !temp10.equals(temp11)) { is_equal = false; return; } }} before PrintVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((PrintVisitor) obj).get_indent(); is_equal = is_equal && host.get_needSpace() == ((PrintVisitor) obj).get_needSpace(); }} before CopyVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp12 = host.get_copy(); Object temp13 = ((CopyVisitor) obj).get_copy(); if(temp12 == null && temp13 == null) {} else if(temp12 == null || temp13 == null || !temp12.equals(temp13)) { is_equal = false; return; } }} before SubgraphVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_is_equal() == ((SubgraphVisitor) obj).get_is_equal(); }} before EqualVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_is_equal() == ((EqualVisitor) obj).get_is_equal(); }} before DisplayVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((DisplayVisitor) obj).get_indent(); }} before TraceVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_indent() == ((TraceVisitor) obj).get_indent(); }} before UniversalVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> PathSpec_PList, first, Nonempty_PathSpec_PList {{ if (is_equal) { PathSpec_PList obj = (PathSpec_PList) history.peek(); Object temp14 = obj.get_first(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> PathSpec_PList, first, Nonempty_PathSpec_PList {{ if (is_equal) history.pop(); }} before PathSpec_PList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Node_PList, first, Nonempty_Node_PList {{ if (is_equal) { Node_PList obj = (Node_PList) history.peek(); Object temp15 = obj.get_first(); if(temp15==null) { is_equal = false; return; } history.push(temp15); } }} after -> Node_PList, first, Nonempty_Node_PList {{ if (is_equal) history.pop(); }} before Node_PList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_PathSpec_PList, it, PathSpec {{ if (is_equal) { Nonempty_PathSpec_PList obj = (Nonempty_PathSpec_PList) history.peek(); Object temp16 = obj.get_it(); if(temp16==null) { is_equal = false; return; } history.push(temp16); } }} after -> Nonempty_PathSpec_PList, it, PathSpec {{ if (is_equal) history.pop(); }} before -> Nonempty_PathSpec_PList, next, Nonempty_PathSpec_PList {{ if (is_equal) { Nonempty_PathSpec_PList obj = (Nonempty_PathSpec_PList) history.peek(); Object temp17 = obj.get_next(); if(temp17==null) { is_equal = false; return; } history.push(temp17); } }} after -> Nonempty_PathSpec_PList, next, Nonempty_PathSpec_PList {{ if (is_equal) history.pop(); }} before Nonempty_PathSpec_PList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Node_PList, it, Node {{ if (is_equal) { Nonempty_Node_PList obj = (Nonempty_Node_PList) history.peek(); Object temp18 = obj.get_it(); if(temp18==null) { is_equal = false; return; } history.push(temp18); } }} after -> Nonempty_Node_PList, it, Node {{ if (is_equal) history.pop(); }} before -> Nonempty_Node_PList, next, Nonempty_Node_PList {{ if (is_equal) { Nonempty_Node_PList obj = (Nonempty_Node_PList) history.peek(); Object temp19 = obj.get_next(); if(temp19==null) { is_equal = false; return; } history.push(temp19); } }} after -> Nonempty_Node_PList, next, Nonempty_Node_PList {{ if (is_equal) history.pop(); }} before Nonempty_Node_PList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }