// 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 -> TraversalPaths, tracematch_list, TraceMatch_List {{ if (is_equal) { TraversalPaths obj = (TraversalPaths) history.peek(); Object temp1 = obj.get_tracematch_list(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } }} after -> TraversalPaths, tracematch_list, TraceMatch_List {{ if (is_equal) history.pop(); }} before TraversalPaths {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> TraceMatch, decls, VariableDeclaration_CList {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp2 = obj.get_decls(); if(temp2==null) { is_equal = false; return; } history.push(temp2); } }} after -> TraceMatch, decls, VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before -> TraceMatch, SymbolDeclaration, Symbol_List {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp3 = obj.get_SymbolDeclaration(); if(temp3==null) { is_equal = false; return; } history.push(temp3); } }} after -> TraceMatch, SymbolDeclaration, Symbol_List {{ if (is_equal) history.pop(); }} before -> TraceMatch, regex, RegEx {{ if (is_equal) { TraceMatch obj = (TraceMatch) history.peek(); Object temp4 = obj.get_regex(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } }} after -> TraceMatch, regex, RegEx {{ if (is_equal) history.pop(); }} before TraceMatch {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> VariableDeclaration, nodename, NodeName {{ if (is_equal) { VariableDeclaration obj = (VariableDeclaration) history.peek(); Object temp5 = obj.get_nodename(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } }} after -> VariableDeclaration, nodename, NodeName {{ if (is_equal) history.pop(); }} before -> VariableDeclaration, variablename, VariableName {{ if (is_equal) { VariableDeclaration obj = (VariableDeclaration) history.peek(); Object temp6 = obj.get_variablename(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } }} after -> VariableDeclaration, variablename, VariableName {{ if (is_equal) history.pop(); }} before VariableDeclaration {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Symbol, name, Name {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp7 = obj.get_name(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } }} after -> Symbol, name, Name {{ if (is_equal) history.pop(); }} before -> Symbol, kind, Kind {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp8 = obj.get_kind(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } }} after -> Symbol, kind, Kind {{ if (is_equal) history.pop(); }} before -> Symbol, selectorexp, SelectorExp {{ if (is_equal) { Symbol obj = (Symbol) history.peek(); Object temp9 = obj.get_selectorexp(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } }} after -> Symbol, selectorexp, SelectorExp {{ if (is_equal) history.pop(); }} before Symbol {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Kind {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Before {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before After {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before SelectorExp {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Simple {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> NodeVisit, nodename, NodeName {{ if (is_equal) { NodeVisit obj = (NodeVisit) history.peek(); Object temp10 = obj.get_nodename(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } }} after -> NodeVisit, nodename, NodeName {{ if (is_equal) history.pop(); }} before NodeVisit {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Target, variablename, VariableName {{ if (is_equal) { Target obj = (Target) history.peek(); Object temp11 = obj.get_variablename(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } }} after -> Target, variablename, VariableName {{ if (is_equal) history.pop(); }} before Target {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> This, variablename, VariableName {{ if (is_equal) { This obj = (This) history.peek(); Object temp12 = obj.get_variablename(); if(temp12==null) { is_equal = false; return; } history.push(temp12); } }} after -> This, variablename, VariableName {{ if (is_equal) history.pop(); }} before This {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Compound, op, Op {{ if (is_equal) { Compound obj = (Compound) history.peek(); Object temp13 = obj.get_op(); if(temp13==null) { is_equal = false; return; } history.push(temp13); } }} after -> Compound, op, Op {{ if (is_equal) history.pop(); }} before -> Compound, args, SelectorExp_List {{ if (is_equal) { Compound obj = (Compound) history.peek(); Object temp14 = obj.get_args(); if(temp14==null) { is_equal = false; return; } history.push(temp14); } }} after -> Compound, args, SelectorExp_List {{ if (is_equal) history.pop(); }} before Compound {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Op {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Union {{ 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 RegEx {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before Name {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp15 = host.get_ident(); Object temp16 = ((Name) obj).get_ident(); if(temp15 == null && temp16 == null) {} else if(temp15 == null || temp16 == null || !temp15.equals(temp16)) { is_equal = false; return; } }} before NodeName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp17 = host.get_ident(); Object temp18 = ((NodeName) obj).get_ident(); if(temp17 == null && temp18 == null) {} else if(temp17 == null || temp18 == null || !temp17.equals(temp18)) { is_equal = false; return; } }} before MethodName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp19 = host.get_ident(); Object temp20 = ((MethodName) obj).get_ident(); if(temp19 == null && temp20 == null) {} else if(temp19 == null || temp20 == null || !temp19.equals(temp20)) { is_equal = false; return; } }} before VariableName {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp21 = host.get_ident(); Object temp22 = ((VariableName) obj).get_ident(); if(temp21 == null && temp22 == null) {} else if(temp21 == null || temp22 == null || !temp21.equals(temp22)) { is_equal = false; 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 temp23 = host.get_copy(); Object temp24 = ((CopyVisitor) obj).get_copy(); if(temp23 == null && temp24 == null) {} else if(temp23 == null || temp24 == null || !temp23.equals(temp24)) { 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 -> TraceMatch_List, first, Nonempty_TraceMatch_List {{ if (is_equal) { TraceMatch_List obj = (TraceMatch_List) history.peek(); Object temp25 = obj.get_first(); if(temp25==null) { is_equal = false; return; } history.push(temp25); } }} after -> TraceMatch_List, first, Nonempty_TraceMatch_List {{ if (is_equal) history.pop(); }} before TraceMatch_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> VariableDeclaration_CList, first, Nonempty_VariableDeclaration_CList {{ if (is_equal) { VariableDeclaration_CList obj = (VariableDeclaration_CList) history.peek(); Object temp26 = obj.get_first(); if(temp26==null) { is_equal = false; return; } history.push(temp26); } }} after -> VariableDeclaration_CList, first, Nonempty_VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before VariableDeclaration_CList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Symbol_List, first, Nonempty_Symbol_List {{ if (is_equal) { Symbol_List obj = (Symbol_List) history.peek(); Object temp27 = obj.get_first(); if(temp27==null) { is_equal = false; return; } history.push(temp27); } }} after -> Symbol_List, first, Nonempty_Symbol_List {{ if (is_equal) history.pop(); }} before Symbol_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> SelectorExp_List, first, Nonempty_SelectorExp_List {{ if (is_equal) { SelectorExp_List obj = (SelectorExp_List) history.peek(); Object temp28 = obj.get_first(); if(temp28==null) { is_equal = false; return; } history.push(temp28); } }} after -> SelectorExp_List, first, Nonempty_SelectorExp_List {{ if (is_equal) history.pop(); }} before SelectorExp_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_TraceMatch_List, it, TraceMatch {{ if (is_equal) { Nonempty_TraceMatch_List obj = (Nonempty_TraceMatch_List) history.peek(); Object temp29 = obj.get_it(); if(temp29==null) { is_equal = false; return; } history.push(temp29); } }} after -> Nonempty_TraceMatch_List, it, TraceMatch {{ if (is_equal) history.pop(); }} before -> Nonempty_TraceMatch_List, next, Nonempty_TraceMatch_List {{ if (is_equal) { Nonempty_TraceMatch_List obj = (Nonempty_TraceMatch_List) history.peek(); Object temp30 = obj.get_next(); if(temp30==null) { is_equal = false; return; } history.push(temp30); } }} after -> Nonempty_TraceMatch_List, next, Nonempty_TraceMatch_List {{ if (is_equal) history.pop(); }} before Nonempty_TraceMatch_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_VariableDeclaration_CList, it, VariableDeclaration {{ if (is_equal) { Nonempty_VariableDeclaration_CList obj = (Nonempty_VariableDeclaration_CList) history.peek(); Object temp31 = obj.get_it(); if(temp31==null) { is_equal = false; return; } history.push(temp31); } }} after -> Nonempty_VariableDeclaration_CList, it, VariableDeclaration {{ if (is_equal) history.pop(); }} before -> Nonempty_VariableDeclaration_CList, next, Nonempty_VariableDeclaration_CList {{ if (is_equal) { Nonempty_VariableDeclaration_CList obj = (Nonempty_VariableDeclaration_CList) history.peek(); Object temp32 = obj.get_next(); if(temp32==null) { is_equal = false; return; } history.push(temp32); } }} after -> Nonempty_VariableDeclaration_CList, next, Nonempty_VariableDeclaration_CList {{ if (is_equal) history.pop(); }} before Nonempty_VariableDeclaration_CList {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_Symbol_List, it, Symbol {{ if (is_equal) { Nonempty_Symbol_List obj = (Nonempty_Symbol_List) history.peek(); Object temp33 = obj.get_it(); if(temp33==null) { is_equal = false; return; } history.push(temp33); } }} after -> Nonempty_Symbol_List, it, Symbol {{ if (is_equal) history.pop(); }} before -> Nonempty_Symbol_List, next, Nonempty_Symbol_List {{ if (is_equal) { Nonempty_Symbol_List obj = (Nonempty_Symbol_List) history.peek(); Object temp34 = obj.get_next(); if(temp34==null) { is_equal = false; return; } history.push(temp34); } }} after -> Nonempty_Symbol_List, next, Nonempty_Symbol_List {{ if (is_equal) history.pop(); }} before Nonempty_Symbol_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} before -> Nonempty_SelectorExp_List, it, SelectorExp {{ if (is_equal) { Nonempty_SelectorExp_List obj = (Nonempty_SelectorExp_List) history.peek(); Object temp35 = obj.get_it(); if(temp35==null) { is_equal = false; return; } history.push(temp35); } }} after -> Nonempty_SelectorExp_List, it, SelectorExp {{ if (is_equal) history.pop(); }} before -> Nonempty_SelectorExp_List, next, Nonempty_SelectorExp_List {{ if (is_equal) { Nonempty_SelectorExp_List obj = (Nonempty_SelectorExp_List) history.peek(); Object temp36 = obj.get_next(); if(temp36==null) { is_equal = false; return; } history.push(temp36); } }} after -> Nonempty_SelectorExp_List, next, Nonempty_SelectorExp_List {{ if (is_equal) history.pop(); }} before Nonempty_SelectorExp_List {{ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; }} return boolean {{ is_equal }} }