// This file is automatically generated by DemeterJ. CopyVisitor { {{ private java.util.Stack history = new java.util.Stack(); public CopyVisitor(Class firstClass) { try { history.push(firstClass.newInstance()); } catch(Exception e) { e.printStackTrace(); } } }} get copy {{ return history.peek(); }} return Object {{ get_copy() }} before -> Cd_graph, adjacencies, Adjacency_Nlist {{ Cd_graph it = (Cd_graph) history.peek(); Adjacency_Nlist p = new Adjacency_Nlist(); it.set_adjacencies(p); history.push(p); }} after -> Cd_graph, adjacencies, Adjacency_Nlist {{ history.pop(); }} before -> Adjacency, source, Vertex {{ Adjacency it = (Adjacency) history.peek(); Vertex p = new Vertex(); it.set_source(p); history.push(p); }} after -> Adjacency, source, Vertex {{ history.pop(); }} before -> Adjacency, parameters, Vertex_Comma_list {{ Adjacency it = (Adjacency) history.peek(); Vertex_Comma_list p = new Vertex_Comma_list(); it.set_parameters(p); history.push(p); }} after -> Adjacency, parameters, Vertex_Comma_list {{ history.pop(); }} before -> Adjacency, ns, Neighbors {{ Adjacency it = (Adjacency) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_ns((Neighbors) p); history.push(p); }} after -> Adjacency, ns, Neighbors {{ history.pop(); }} before -> Neighbors_wc, construct_ns, Any_vertex_List {{ Neighbors_wc it = (Neighbors_wc) history.peek(); Any_vertex_List p = new Any_vertex_List(); it.set_construct_ns(p); history.push(p); }} after -> Neighbors_wc, construct_ns, Any_vertex_List {{ history.pop(); }} before -> Neighbors_wc, parents, ParentList {{ Neighbors_wc it = (Neighbors_wc) history.peek(); ParentList p = new ParentList(); it.set_parents(p); history.push(p); }} after -> Neighbors_wc, parents, ParentList {{ history.pop(); }} before -> ParentList, ps, Adjacency_List {{ ParentList it = (ParentList) history.peek(); Adjacency_List p = new Adjacency_List(); it.set_ps(p); history.push(p); }} after -> ParentList, ps, Adjacency_List {{ history.pop(); }} before -> Alternat_ns, alternat_ns, Term_Bar_list {{ Alternat_ns it = (Alternat_ns) history.peek(); Term_Bar_list p = new Term_Bar_list(); it.set_alternat_ns(p); history.push(p); }} after -> Alternat_ns, alternat_ns, Term_Bar_list {{ history.pop(); }} before -> Alternat_ns, common, Common {{ Alternat_ns it = (Alternat_ns) history.peek(); Common p = new Common(); it.set_common(p); history.push(p); }} after -> Alternat_ns, common, Common {{ history.pop(); }} before -> Repetit_n, sandwiched, Kernel_Sandwich {{ Repetit_n it = (Repetit_n) history.peek(); Kernel_Sandwich p = new Kernel_Sandwich(); it.set_sandwiched(p); history.push(p); }} after -> Repetit_n, sandwiched, Kernel_Sandwich {{ history.pop(); }} before -> Kernel, nonempty, Term {{ Kernel it = (Kernel) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_nonempty((Term) p); history.push(p); }} after -> Kernel, nonempty, Term {{ history.pop(); }} before -> Kernel, repeated, Term_Sandwich {{ Kernel it = (Kernel) history.peek(); Term_Sandwich p = new Term_Sandwich(); it.set_repeated(p); history.push(p); }} after -> Kernel, repeated, Term_Sandwich {{ history.pop(); }} before -> Vertex, vertex_name, Ident {{ Vertex it = (Vertex) history.peek(); it.set_vertex_name(dest); }} before -> Regular_syntax, string, String {{ Regular_syntax it = (Regular_syntax) history.peek(); it.set_string(dest); }} before -> Opt_labeled_term, vertex, Term {{ Opt_labeled_term it = (Opt_labeled_term) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_vertex((Term) p); history.push(p); }} after -> Opt_labeled_term, vertex, Term {{ history.pop(); }} before -> Labeled, label_name, Ident {{ Labeled it = (Labeled) history.peek(); it.set_label_name(dest); }} before -> Term, vertex, Vertex {{ Term it = (Term) history.peek(); Vertex p = new Vertex(); it.set_vertex(p); history.push(p); }} after -> Term, vertex, Vertex {{ history.pop(); }} before -> Term, module_name, Module_name {{ Term it = (Term) history.peek(); Module_name p = new Module_name(); it.set_module_name(p); history.push(p); }} after -> Term, module_name, Module_name {{ history.pop(); }} before -> Term, actual_parameters, Term_Comma_list {{ Term it = (Term) history.peek(); Term_Comma_list p = new Term_Comma_list(); it.set_actual_parameters(p); history.push(p); }} after -> Term, actual_parameters, Term_Comma_list {{ history.pop(); }} before -> Module_name, module_name, Ident {{ Module_name it = (Module_name) history.peek(); it.set_module_name(dest); }} before -> Optional_term, opt, Opt_labeled_term_Sandwich {{ Optional_term it = (Optional_term) history.peek(); Opt_labeled_term_Sandwich p = new Opt_labeled_term_Sandwich(); it.set_opt(p); history.push(p); }} after -> Optional_term, opt, Opt_labeled_term_Sandwich {{ history.pop(); }} before -> FindClassVisitor, id, Ident {{ FindClassVisitor it = (FindClassVisitor) history.peek(); it.set_id(dest); }} before -> FindClassVisitor, rv, Adjacency {{ FindClassVisitor it = (FindClassVisitor) history.peek(); Adjacency p = new Adjacency(); it.set_rv(p); history.push(p); }} after -> FindClassVisitor, rv, Adjacency {{ history.pop(); }} before -> InhCycleVisitor, alreadyChecked, HashSet {{ InhCycleVisitor it = (InhCycleVisitor) history.peek(); it.set_alreadyChecked(dest); }} before -> PrintVisitor, indent, int {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_indent(dest); }} before -> PrintVisitor, needSpace, boolean {{ PrintVisitor it = (PrintVisitor) history.peek(); it.set_needSpace(dest); }} before -> SubgraphVisitor, is_equal, boolean {{ SubgraphVisitor it = (SubgraphVisitor) history.peek(); it.set_is_equal(dest); }} before -> EqualVisitor, is_equal, boolean {{ EqualVisitor it = (EqualVisitor) history.peek(); it.set_is_equal(dest); }} before -> DisplayVisitor, indent, int {{ DisplayVisitor it = (DisplayVisitor) history.peek(); it.set_indent(dest); }} before -> TraceVisitor, indent, int {{ TraceVisitor it = (TraceVisitor) history.peek(); it.set_indent(dest); }} before -> Adjacency_Nlist, first, Nonempty_Adjacency_Nlist {{ Adjacency_Nlist it = (Adjacency_Nlist) history.peek(); Nonempty_Adjacency_Nlist p = new Nonempty_Adjacency_Nlist(); it.set_first(p); history.push(p); }} after -> Adjacency_Nlist, first, Nonempty_Adjacency_Nlist {{ history.pop(); }} before -> Vertex_Comma_list, first, Nonempty_Vertex_Comma_list {{ Vertex_Comma_list it = (Vertex_Comma_list) history.peek(); Nonempty_Vertex_Comma_list p = new Nonempty_Vertex_Comma_list(); it.set_first(p); history.push(p); }} after -> Vertex_Comma_list, first, Nonempty_Vertex_Comma_list {{ history.pop(); }} before -> Any_vertex_List, first, Nonempty_Any_vertex_List {{ Any_vertex_List it = (Any_vertex_List) history.peek(); Nonempty_Any_vertex_List p = new Nonempty_Any_vertex_List(); it.set_first(p); history.push(p); }} after -> Any_vertex_List, first, Nonempty_Any_vertex_List {{ history.pop(); }} before -> Adjacency_List, first, Nonempty_Adjacency_List {{ Adjacency_List it = (Adjacency_List) history.peek(); Nonempty_Adjacency_List p = new Nonempty_Adjacency_List(); it.set_first(p); history.push(p); }} after -> Adjacency_List, first, Nonempty_Adjacency_List {{ history.pop(); }} before -> Term_Bar_list, first, Nonempty_Term_Bar_list {{ Term_Bar_list it = (Term_Bar_list) history.peek(); Nonempty_Term_Bar_list p = new Nonempty_Term_Bar_list(); it.set_first(p); history.push(p); }} after -> Term_Bar_list, first, Nonempty_Term_Bar_list {{ history.pop(); }} before -> Kernel_Sandwich, first, Syntax_vertex_List {{ Kernel_Sandwich it = (Kernel_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_first(p); history.push(p); }} after -> Kernel_Sandwich, first, Syntax_vertex_List {{ history.pop(); }} before -> Kernel_Sandwich, inner, Kernel {{ Kernel_Sandwich it = (Kernel_Sandwich) history.peek(); Kernel p = new Kernel(); it.set_inner(p); history.push(p); }} after -> Kernel_Sandwich, inner, Kernel {{ history.pop(); }} before -> Kernel_Sandwich, second, Syntax_vertex_List {{ Kernel_Sandwich it = (Kernel_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_second(p); history.push(p); }} after -> Kernel_Sandwich, second, Syntax_vertex_List {{ history.pop(); }} before -> Term_Sandwich, first, Syntax_vertex_List {{ Term_Sandwich it = (Term_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_first(p); history.push(p); }} after -> Term_Sandwich, first, Syntax_vertex_List {{ history.pop(); }} before -> Term_Sandwich, inner, Term {{ Term_Sandwich it = (Term_Sandwich) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_inner((Term) p); history.push(p); }} after -> Term_Sandwich, inner, Term {{ history.pop(); }} before -> Term_Sandwich, second, Syntax_vertex_List {{ Term_Sandwich it = (Term_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_second(p); history.push(p); }} after -> Term_Sandwich, second, Syntax_vertex_List {{ history.pop(); }} before -> Term_Comma_list, first, Nonempty_Term_Comma_list {{ Term_Comma_list it = (Term_Comma_list) history.peek(); Nonempty_Term_Comma_list p = new Nonempty_Term_Comma_list(); it.set_first(p); history.push(p); }} after -> Term_Comma_list, first, Nonempty_Term_Comma_list {{ history.pop(); }} before -> Opt_labeled_term_Sandwich, first, Syntax_vertex_List {{ Opt_labeled_term_Sandwich it = (Opt_labeled_term_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_first(p); history.push(p); }} after -> Opt_labeled_term_Sandwich, first, Syntax_vertex_List {{ history.pop(); }} before -> Opt_labeled_term_Sandwich, inner, Opt_labeled_term {{ Opt_labeled_term_Sandwich it = (Opt_labeled_term_Sandwich) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_inner((Opt_labeled_term) p); history.push(p); }} after -> Opt_labeled_term_Sandwich, inner, Opt_labeled_term {{ history.pop(); }} before -> Opt_labeled_term_Sandwich, second, Syntax_vertex_List {{ Opt_labeled_term_Sandwich it = (Opt_labeled_term_Sandwich) history.peek(); Syntax_vertex_List p = new Syntax_vertex_List(); it.set_second(p); history.push(p); }} after -> Opt_labeled_term_Sandwich, second, Syntax_vertex_List {{ history.pop(); }} before -> Syntax_vertex_List, first, Nonempty_Syntax_vertex_List {{ Syntax_vertex_List it = (Syntax_vertex_List) history.peek(); Nonempty_Syntax_vertex_List p = new Nonempty_Syntax_vertex_List(); it.set_first(p); history.push(p); }} after -> Syntax_vertex_List, first, Nonempty_Syntax_vertex_List {{ history.pop(); }} before -> Nonempty_Adjacency_Nlist, it, Adjacency {{ Nonempty_Adjacency_Nlist it = (Nonempty_Adjacency_Nlist) history.peek(); Adjacency p = new Adjacency(); it.set_it(p); history.push(p); }} after -> Nonempty_Adjacency_Nlist, it, Adjacency {{ history.pop(); }} before -> Nonempty_Adjacency_Nlist, next, Nonempty_Adjacency_Nlist {{ Nonempty_Adjacency_Nlist it = (Nonempty_Adjacency_Nlist) history.peek(); Nonempty_Adjacency_Nlist p = new Nonempty_Adjacency_Nlist(); it.set_next(p); history.push(p); }} after -> Nonempty_Adjacency_Nlist, next, Nonempty_Adjacency_Nlist {{ history.pop(); }} before -> Nonempty_Vertex_Comma_list, it, Vertex {{ Nonempty_Vertex_Comma_list it = (Nonempty_Vertex_Comma_list) history.peek(); Vertex p = new Vertex(); it.set_it(p); history.push(p); }} after -> Nonempty_Vertex_Comma_list, it, Vertex {{ history.pop(); }} before -> Nonempty_Vertex_Comma_list, next, Nonempty_Vertex_Comma_list {{ Nonempty_Vertex_Comma_list it = (Nonempty_Vertex_Comma_list) history.peek(); Nonempty_Vertex_Comma_list p = new Nonempty_Vertex_Comma_list(); it.set_next(p); history.push(p); }} after -> Nonempty_Vertex_Comma_list, next, Nonempty_Vertex_Comma_list {{ history.pop(); }} before -> Nonempty_Any_vertex_List, it, Any_vertex {{ Nonempty_Any_vertex_List it = (Nonempty_Any_vertex_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Any_vertex) p); history.push(p); }} after -> Nonempty_Any_vertex_List, it, Any_vertex {{ history.pop(); }} before -> Nonempty_Any_vertex_List, next, Nonempty_Any_vertex_List {{ Nonempty_Any_vertex_List it = (Nonempty_Any_vertex_List) history.peek(); Nonempty_Any_vertex_List p = new Nonempty_Any_vertex_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Any_vertex_List, next, Nonempty_Any_vertex_List {{ history.pop(); }} before -> Nonempty_Adjacency_List, it, Adjacency {{ Nonempty_Adjacency_List it = (Nonempty_Adjacency_List) history.peek(); Adjacency p = new Adjacency(); it.set_it(p); history.push(p); }} after -> Nonempty_Adjacency_List, it, Adjacency {{ history.pop(); }} before -> Nonempty_Adjacency_List, next, Nonempty_Adjacency_List {{ Nonempty_Adjacency_List it = (Nonempty_Adjacency_List) history.peek(); Nonempty_Adjacency_List p = new Nonempty_Adjacency_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Adjacency_List, next, Nonempty_Adjacency_List {{ history.pop(); }} before -> Nonempty_Term_Bar_list, it, Term {{ Nonempty_Term_Bar_list it = (Nonempty_Term_Bar_list) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Term) p); history.push(p); }} after -> Nonempty_Term_Bar_list, it, Term {{ history.pop(); }} before -> Nonempty_Term_Bar_list, next, Nonempty_Term_Bar_list {{ Nonempty_Term_Bar_list it = (Nonempty_Term_Bar_list) history.peek(); Nonempty_Term_Bar_list p = new Nonempty_Term_Bar_list(); it.set_next(p); history.push(p); }} after -> Nonempty_Term_Bar_list, next, Nonempty_Term_Bar_list {{ history.pop(); }} before -> Nonempty_Term_Comma_list, it, Term {{ Nonempty_Term_Comma_list it = (Nonempty_Term_Comma_list) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Term) p); history.push(p); }} after -> Nonempty_Term_Comma_list, it, Term {{ history.pop(); }} before -> Nonempty_Term_Comma_list, next, Nonempty_Term_Comma_list {{ Nonempty_Term_Comma_list it = (Nonempty_Term_Comma_list) history.peek(); Nonempty_Term_Comma_list p = new Nonempty_Term_Comma_list(); it.set_next(p); history.push(p); }} after -> Nonempty_Term_Comma_list, next, Nonempty_Term_Comma_list {{ history.pop(); }} before -> Nonempty_Syntax_vertex_List, it, Syntax_vertex {{ Nonempty_Syntax_vertex_List it = (Nonempty_Syntax_vertex_List) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_it((Syntax_vertex) p); history.push(p); }} after -> Nonempty_Syntax_vertex_List, it, Syntax_vertex {{ history.pop(); }} before -> Nonempty_Syntax_vertex_List, next, Nonempty_Syntax_vertex_List {{ Nonempty_Syntax_vertex_List it = (Nonempty_Syntax_vertex_List) history.peek(); Nonempty_Syntax_vertex_List p = new Nonempty_Syntax_vertex_List(); it.set_next(p); history.push(p); }} after -> Nonempty_Syntax_vertex_List, next, Nonempty_Syntax_vertex_List {{ history.pop(); }} }