// 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 -> Example, tree, Tree {{ if (is_equal) { Example obj = (Example) history.peek(); Object temp1 = obj.get_tree(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } }} after -> Example, tree, Tree {{ if (is_equal) history.pop(); }} before Example {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Tree, l, Label {{ if (is_equal) { Tree obj = (Tree) history.peek(); Object temp2 = obj.get_l(); if(temp2==null) { is_equal = false; return; } history.push(temp2); } }} after -> Tree, l, Label {{ if (is_equal) history.pop(); }} before -> Tree, left, Tree {{ if (is_equal) { Tree obj = (Tree) history.peek(); Object temp3 = obj.get_left(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> Tree, left, Tree {{ if (is_equal) history.pop(); }} before -> Tree, right, Tree {{ if (is_equal) { Tree obj = (Tree) history.peek(); Object temp4 = obj.get_right(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> Tree, right, Tree {{ if (is_equal) history.pop(); }} before Tree {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Label {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_v() == ((Label) obj).get_v(); }} before SummingVisitor {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_total() == ((SummingVisitor) obj).get_total(); }} before SummingVisitor2 {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_total() == ((SummingVisitor2) obj).get_total(); }} 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 temp5 = host.get_copy(); Object temp6 = ((CopyVisitor) obj).get_copy(); if(temp5 == null && temp6 == null) {} else if(temp5 == null || temp6 == null || !temp5.equals(temp6)) { 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; }} return boolean {{ is_equal }} }