// This file is automatically generated by DemeterJ. SubgraphVisitor { {{ private java.util.Stack history = new java.util.Stack(); public SubgraphVisitor(Object obj) { history.push(obj); } }} before -> CSP, constraint_list, Constraint_List {{ if (is_equal) { CSP obj = (CSP) history.peek(); Object temp1 = obj.get_constraint_list(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } }} after -> CSP, constraint_list, Constraint_List {{ if (is_equal) history.pop(); }} before CSP {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Constraint, vars, Variable_List {{ if (is_equal) { Constraint obj = (Constraint) history.peek(); Object temp2 = obj.get_vars(); if(temp2==null) { is_equal = false; return; } history.push(temp2); } }} after -> Constraint, vars, Variable_List {{ if (is_equal) history.pop(); }} before Constraint {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_relationNumber() == ((Constraint) obj).get_relationNumber(); }} before Variable {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_v() == ((Variable) obj).get_v(); }} before ForcedVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Relation {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Main {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) 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 temp3 = host.get_copy(); Object temp4 = ((CopyVisitor) obj).get_copy(); if(temp3 == null && temp4 == null) {} else if(temp3 == null || temp4 == null || !temp3.equals(temp4)) { 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 -> Constraint_List, first, Nonempty_Constraint_List {{ if (is_equal) { Constraint_List obj = (Constraint_List) history.peek(); Object temp5 = obj.get_first(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> Constraint_List, first, Nonempty_Constraint_List {{ if (is_equal) history.pop(); }} before Constraint_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Variable_List, first, Nonempty_Variable_List {{ if (is_equal) { Variable_List obj = (Variable_List) history.peek(); Object temp6 = obj.get_first(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> Variable_List, first, Nonempty_Variable_List {{ if (is_equal) history.pop(); }} before Variable_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Constraint_List, it, Constraint {{ if (is_equal) { Nonempty_Constraint_List obj = (Nonempty_Constraint_List) history.peek(); Object temp7 = obj.get_it(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> Nonempty_Constraint_List, it, Constraint {{ if (is_equal) history.pop(); }} before -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ if (is_equal) { Nonempty_Constraint_List obj = (Nonempty_Constraint_List) history.peek(); Object temp8 = obj.get_next(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> Nonempty_Constraint_List, next, Nonempty_Constraint_List {{ if (is_equal) history.pop(); }} before Nonempty_Constraint_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Variable_List, it, Variable {{ if (is_equal) { Nonempty_Variable_List obj = (Nonempty_Variable_List) history.peek(); Object temp9 = obj.get_it(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> Nonempty_Variable_List, it, Variable {{ if (is_equal) history.pop(); }} before -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ if (is_equal) { Nonempty_Variable_List obj = (Nonempty_Variable_List) history.peek(); Object temp10 = obj.get_next(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> Nonempty_Variable_List, next, Nonempty_Variable_List {{ if (is_equal) history.pop(); }} before Nonempty_Variable_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }