// This file is automatically generated by Demeter/Java. EqualVisitor { (@ private java.util.Stack history = new java.util.Stack(); public EqualVisitor(Object obj) { history.push(obj); } @) before -> WebScript, service_list, Service_List (@ if (is_equal) { WebScript obj = (WebScript) history.peek(); Object temp1 = obj.get_service_list(); if(temp1==null) { is_equal = false; return; } history.push(temp1); } @) after -> WebScript, service_list, Service_List (@ if (is_equal) history.pop(); @) before WebScript (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before Service (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before Url (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp2 = host.get_url(); Object temp3 = ((Url) obj).get_url(); if(temp2 == null && temp3 == null) {} else if(temp2 == null || temp3 == null || !temp2.equals(temp3)) { is_equal = false; return; } @) before -> TimeOut, timeout, Real (@ if (is_equal) { TimeOut obj = (TimeOut) history.peek(); Object temp4 = obj.get_timeout(); if(temp4==null) { is_equal = false; return; } history.push(temp4); } @) after -> TimeOut, timeout, Real (@ if (is_equal) history.pop(); @) before -> TimeOut, service, Service (@ if (is_equal) { TimeOut obj = (TimeOut) history.peek(); Object temp5 = obj.get_service(); if(temp5==null) { is_equal = false; return; } history.push(temp5); } @) after -> TimeOut, service, Service (@ if (is_equal) history.pop(); @) before TimeOut (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Limit, start_time, Real (@ if (is_equal) { Limit obj = (Limit) history.peek(); Object temp6 = obj.get_start_time(); if(temp6==null) { is_equal = false; return; } history.push(temp6); } @) after -> Limit, start_time, Real (@ if (is_equal) history.pop(); @) before -> Limit, rate, Real (@ if (is_equal) { Limit obj = (Limit) history.peek(); Object temp7 = obj.get_rate(); if(temp7==null) { is_equal = false; return; } history.push(temp7); } @) after -> Limit, rate, Real (@ if (is_equal) history.pop(); @) before -> Limit, service, Service (@ if (is_equal) { Limit obj = (Limit) history.peek(); Object temp8 = obj.get_service(); if(temp8==null) { is_equal = false; return; } history.push(temp8); } @) after -> Limit, service, Service (@ if (is_equal) history.pop(); @) before Limit (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Repeat, service, Service (@ if (is_equal) { Repeat obj = (Repeat) history.peek(); Object temp9 = obj.get_service(); if(temp9==null) { is_equal = false; return; } history.push(temp9); } @) after -> Repeat, service, Service (@ if (is_equal) history.pop(); @) before Repeat (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before Stall (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before Fail (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Execution, service1, Service (@ if (is_equal) { Execution obj = (Execution) history.peek(); Object temp10 = obj.get_service1(); if(temp10==null) { is_equal = false; return; } history.push(temp10); } @) after -> Execution, service1, Service (@ if (is_equal) history.pop(); @) before -> Execution, op, ExecutionOp (@ if (is_equal) { Execution obj = (Execution) history.peek(); Object temp11 = obj.get_op(); if(temp11==null) { is_equal = false; return; } history.push(temp11); } @) after -> Execution, op, ExecutionOp (@ if (is_equal) history.pop(); @) before -> Execution, service2, Service (@ if (is_equal) { Execution obj = (Execution) history.peek(); Object temp12 = obj.get_service2(); if(temp12==null) { is_equal = false; return; } history.push(temp12); } @) after -> Execution, service2, Service (@ if (is_equal) history.pop(); @) before Execution (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before ExecutionOp (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before SequenceOp (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before ConcurrentOp (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Post, data, Condition_List (@ if (is_equal) { Post obj = (Post) history.peek(); Object temp15 = obj.get_data(); if(temp15==null) { is_equal = false; return; } history.push(temp15); } @) after -> Post, data, Condition_List (@ if (is_equal) history.pop(); @) before Post (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp13 = host.get_cgi(); Object temp14 = ((Post) obj).get_cgi(); if(temp13 == null && temp14 == null) {} else if(temp13 == null || temp14 == null || !temp13.equals(temp14)) { is_equal = false; return; } @) before -> Get, data, Condition_List (@ if (is_equal) { Get obj = (Get) history.peek(); Object temp18 = obj.get_data(); if(temp18==null) { is_equal = false; return; } history.push(temp18); } @) after -> Get, data, Condition_List (@ if (is_equal) history.pop(); @) before Get (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp16 = host.get_cgi(); Object temp17 = ((Get) obj).get_cgi(); if(temp16 == null && temp17 == null) {} else if(temp16 == null || temp17 == null || !temp16.equals(temp17)) { is_equal = false; return; } @) before Condition (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; Object temp19 = host.get_id(); Object temp20 = ((Condition) obj).get_id(); if(temp19 == null && temp20 == null) {} else if(temp19 == null || temp20 == null || !temp19.equals(temp20)) { is_equal = false; return; } Object temp21 = host.get_content(); Object temp22 = ((Condition) obj).get_content(); if(temp21 == null && temp22 == null) {} else if(temp21 == null || temp22 == null || !temp21.equals(temp22)) { is_equal = false; return; } @) before Real (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; is_equal = is_equal && host.get_value() == ((Real) obj).get_value(); @) before RunServiceVisitor (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before StopServiceVisitor (@ 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 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 -> Service_List, first, Nonempty_Service_List (@ if (is_equal) { Service_List obj = (Service_List) history.peek(); Object temp25 = obj.get_first(); if(temp25==null) { is_equal = false; return; } history.push(temp25); } @) after -> Service_List, first, Nonempty_Service_List (@ if (is_equal) history.pop(); @) before Service_List (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Condition_List, first, Nonempty_Condition_List (@ if (is_equal) { Condition_List obj = (Condition_List) history.peek(); Object temp26 = obj.get_first(); if(temp26==null) { is_equal = false; return; } history.push(temp26); } @) after -> Condition_List, first, Nonempty_Condition_List (@ if (is_equal) history.pop(); @) before Condition_List (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Nonempty_Service_List, it, Service (@ if (is_equal) { Nonempty_Service_List obj = (Nonempty_Service_List) history.peek(); Object temp27 = obj.get_it(); if(temp27==null) { is_equal = false; return; } history.push(temp27); } @) after -> Nonempty_Service_List, it, Service (@ if (is_equal) history.pop(); @) before -> Nonempty_Service_List, next, Nonempty_Service_List (@ if (is_equal) { Nonempty_Service_List obj = (Nonempty_Service_List) history.peek(); Object temp28 = obj.get_next(); if(temp28==null) { is_equal = false; return; } history.push(temp28); } @) after -> Nonempty_Service_List, next, Nonempty_Service_List (@ if (is_equal) history.pop(); @) before Nonempty_Service_List (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) before -> Nonempty_Condition_List, it, Condition (@ if (is_equal) { Nonempty_Condition_List obj = (Nonempty_Condition_List) history.peek(); Object temp29 = obj.get_it(); if(temp29==null) { is_equal = false; return; } history.push(temp29); } @) after -> Nonempty_Condition_List, it, Condition (@ if (is_equal) history.pop(); @) before -> Nonempty_Condition_List, next, Nonempty_Condition_List (@ if (is_equal) { Nonempty_Condition_List obj = (Nonempty_Condition_List) history.peek(); Object temp30 = obj.get_next(); if(temp30==null) { is_equal = false; return; } history.push(temp30); } @) after -> Nonempty_Condition_List, next, Nonempty_Condition_List (@ if (is_equal) history.pop(); @) before Nonempty_Condition_List (@ Object obj = history.peek(); is_equal = is_equal && obj.getClass().equals(host.getClass()); if(!is_equal) return; @) return boolean (@ is_equal @) }