// 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 -> ClassDict, al, Adjacency_List {{ ClassDict it = (ClassDict) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_al((Adjacency_List) p); history.push(p); }} after -> ClassDict, al, Adjacency_List {{ history.pop(); }} before -> Adjacency, lhs, ClassName {{ Adjacency it = (Adjacency) history.peek(); ClassName p = new ClassName(); it.set_lhs(p); history.push(p); }} after -> Adjacency, lhs, ClassName {{ history.pop(); }} before -> Adjacency, body, Body {{ Adjacency it = (Adjacency) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_body((Body) p); history.push(p); }} after -> Adjacency, body, Body {{ history.pop(); }} before -> Body, common, Common {{ Body it = (Body) history.peek(); Common p = new Common(); it.set_common(p); history.push(p); }} after -> Body, common, Common {{ history.pop(); }} before -> Body, ptl, PartOrToken_List {{ Body it = (Body) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_ptl((PartOrToken_List) p); history.push(p); }} after -> Body, ptl, PartOrToken_List {{ history.pop(); }} before -> Alternation, classname, ClassName {{ Alternation it = (Alternation) history.peek(); ClassName p = new ClassName(); it.set_classname(p); history.push(p); }} after -> Alternation, classname, ClassName {{ history.pop(); }} before -> Alternation, classname_bl, ClassName_BL {{ Alternation it = (Alternation) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_classname_bl((ClassName_BL) p); history.push(p); }} after -> Alternation, classname_bl, ClassName_BL {{ history.pop(); }} before -> SyntaxToken, string, String {{ SyntaxToken it = (SyntaxToken) history.peek(); it.set_string(dest); }} before -> Required, labelname, LabelName {{ Required it = (Required) history.peek(); LabelName p = new LabelName(); it.set_labelname(p); history.push(p); }} after -> Required, labelname, LabelName {{ history.pop(); }} before -> Required, classname, ClassName {{ Required it = (Required) history.peek(); ClassName p = new ClassName(); it.set_classname(p); history.push(p); }} after -> Required, classname, ClassName {{ history.pop(); }} before -> Optional, required, Required {{ Optional it = (Optional) history.peek(); Required p = new Required(); it.set_required(p); history.push(p); }} after -> Optional, required, Required {{ history.pop(); }} before -> ClassName, n, Ident {{ ClassName it = (ClassName) history.peek(); it.set_n(dest); }} before -> LabelName, n, Ident {{ LabelName it = (LabelName) history.peek(); it.set_n(dest); }} before -> NAL, first, Adjacency {{ NAL it = (NAL) history.peek(); Adjacency p = new Adjacency(); it.set_first(p); history.push(p); }} after -> NAL, first, Adjacency {{ history.pop(); }} before -> NAL, rest, Adjacency_List {{ NAL it = (NAL) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((Adjacency_List) p); history.push(p); }} after -> NAL, rest, Adjacency_List {{ history.pop(); }} before -> NPTL, first, PartOrToken {{ NPTL it = (NPTL) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_first((PartOrToken) p); history.push(p); }} after -> NPTL, first, PartOrToken {{ history.pop(); }} before -> NPTL, rest, PartOrToken_List {{ NPTL it = (NPTL) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((PartOrToken_List) p); history.push(p); }} after -> NPTL, rest, PartOrToken_List {{ history.pop(); }} before -> NCBL, first, ClassName {{ NCBL it = (NCBL) history.peek(); ClassName p = new ClassName(); it.set_first(p); history.push(p); }} after -> NCBL, first, ClassName {{ history.pop(); }} before -> NCBL, rest, ClassName_BL {{ NCBL it = (NCBL) history.peek(); Class c = dest.getClass(); Object p = null; try { p = c.newInstance(); } catch(Exception e) { e.printStackTrace(); } it.set_rest((ClassName_BL) p); history.push(p); }} after -> NCBL, rest, ClassName_BL {{ history.pop(); }} before -> Main, s, String {{ Main it = (Main) history.peek(); it.set_s(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); }} }